mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
move nuget token scope to root of job
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -127,6 +127,8 @@ jobs:
|
||||
name: "Deploy"
|
||||
needs: [build-windows, package-macos]
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
@@ -167,8 +169,6 @@ jobs:
|
||||
path: '*.nupkg'
|
||||
- name: Publish Dev NuGet Package
|
||||
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/cs/xplat' }}
|
||||
env:
|
||||
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
run: |
|
||||
dotnet nuget push *.nupkg --skip-duplicate
|
||||
# - name: Upload Artifacts
|
||||
|
||||
Reference in New Issue
Block a user