Skip to content

Commit

Permalink
ci: add publish nuget workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeFwd committed Oct 20, 2024
1 parent c218783 commit 6479e8d
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
build-module:
runs-on: ubuntu-latest
needs: [ "run-unit-tests" ]
steps:
- uses: actions/checkout@v2
- name: Setup .NET
Expand Down Expand Up @@ -50,14 +51,14 @@ jobs:
###########################
# NUGET/GPR #
###########################
# publish-on-nuget:
# needs: [ "build-module" ]
# uses: BUTR/workflows/.github/workflows/release-nuget.yml@master
# with:
# project_path: Bannerlord.ExpandedTemplate.API/Bannerlord.ExpandedTemplate.API.csproj
# secrets:
# NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
publish-on-nuget:
needs: [ "build-module" ]
uses: BUTR/workflows/.github/workflows/release-nuget.yml@master
with:
project_path: Bannerlord.ExpandedTemplate.API/Bannerlord.ExpandedTemplate.API.csproj
secrets:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

###########################
# GITHUB #
###########################
Expand Down

0 comments on commit 6479e8d

Please sign in to comment.