Skip to content

Commit

Permalink
Update push_nuget.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka-ZeroTwo authored Sep 23, 2024
1 parent e74818a commit cdcbdd5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/push_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,5 @@ jobs:
$File = (Get-ChildItem -Path . -Include 'EXILEDOFFICIAL.*.nupkg' -Recurse).Name
Out-File -FilePath ${{ github.env }} -InputObject "PackageFile=$File" -Encoding utf-8 -Append
- name: Push NuGet
shell: pwsh
run: nuget push ${{ env.PackageFile }} -ApiKey ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json

- name: Push generated package to GitHub registry
run: dotnet nuget push ${{ env.PackageFile }} -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/ExMod-Team/index.json --skip-duplicate
run: dotnet nuget push ${{ env.PackageFile }} -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/Misaka-SL-Project/index.json --skip-duplicate

0 comments on commit cdcbdd5

Please sign in to comment.