File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ jobs:
4242 run : dotnet build --configuration Release --no-restore
4343 - name : NugetPush
4444 env :
45- NUGET_TOKEN_EXISTS : ${{ secrets.NUGET_TOKEN }}
45+ NUGET_TOKEN_EXISTS : ${{ secrets.NUGET_TEST_TOKEN }}
4646 if : env.NUGET_TOKEN_EXISTS != ''
4747 run : |
4848 ls ./GithubActionsHelloWorld/bin/Release
49- dotnet nuget push ./GithubActionsHelloWorld/bin/Release/*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_TOKEN }} --source https://apiint.nugettest.org/v3/index.json
49+ dotnet nuget push ./GithubActionsHelloWorld/bin/Release/*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_TEST_TOKEN }} --source https://apiint.nugettest.org/v3/index.json
5050 - name : Github release
5151 env :
5252 GITHUB_TOKEN_EXISTS : ${{ secrets.GITHUB_TOKEN }}
6262 ./GithubActionsHelloWorld/bin/Release/*.snupkg
6363
6464 deployTest :
65+ if : github.ref != 'refs/heads/main'
6566 runs-on : ubuntu-latest
6667 needs : build
6768 steps :
You can’t perform that action at this time.
0 commit comments