mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Publish develop branch to github packages
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -11,6 +11,9 @@ jobs:
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 6.0.*
|
||||
source-url: https://nuget.pkg.github.com/Clowd/index.json
|
||||
env:
|
||||
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: "Install NGBV"
|
||||
run: dotnet tool install --tool-path . nbgv
|
||||
- name: Build
|
||||
@@ -31,3 +34,6 @@ jobs:
|
||||
with:
|
||||
path: .\build\Clowd.Squirrel*.nupkg
|
||||
if-no-files-found: error
|
||||
- name: Publish to GitHub Packages
|
||||
if: {{ github.ref == 'ref/head/develop' }}
|
||||
run: dotnet nuget push .\build\Clowd.Squirrel*.nupkg
|
||||
|
||||
Reference in New Issue
Block a user