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"
|
name: "Deploy"
|
||||||
needs: [build-windows, package-macos]
|
needs: [build-windows, package-macos]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@@ -167,8 +169,6 @@ jobs:
|
|||||||
path: '*.nupkg'
|
path: '*.nupkg'
|
||||||
- name: Publish Dev NuGet Package
|
- name: Publish Dev NuGet Package
|
||||||
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/cs/xplat' }}
|
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: |
|
run: |
|
||||||
dotnet nuget push *.nupkg --skip-duplicate
|
dotnet nuget push *.nupkg --skip-duplicate
|
||||||
# - name: Upload Artifacts
|
# - name: Upload Artifacts
|
||||||
|
|||||||
Reference in New Issue
Block a user