Publish develop branch to github packages

This commit is contained in:
Caelan Sayler
2022-04-27 12:42:42 +01:00
parent 70b8d7a2f9
commit 9bc58a112a

View File

@@ -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