Skip to content

Commit

Permalink
ci: fix unpublished dependency nuget packages
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeFwd committed Oct 21, 2024
1 parent b8c5213 commit c0c540d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,25 @@ jobs:
# NUGET/GPR #
###########################
publish-on-nuget:
name: Publish Module to NuGet
runs-on: ubuntu-latest
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 }}
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Pack
run: dotnet pack --configuration Release -o "./packages"
shell: pwsh

- name: Push to NuGet
run: dotnet nuget push "./packages/*.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s https://www.nuget.org --skip-duplicate
shell: pwsh

###########################
# GITHUB #
Expand Down
2 changes: 1 addition & 1 deletion build/common.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<BuildVersion>1.1.0</BuildVersion>
<BuildVersion>1.1.1</BuildVersion>
<GameVersion>1.2.11</GameVersion>
</PropertyGroup>

Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---------------------------------------------------------------------------------------------------
Version: 1.1.1
Game Versions: v1.2.11
* ci: fix unpublished dependency nuget packages
---------------------------------------------------------------------------------------------------
Version: 1.1.0
Game Versions: v1.2.11
* feat: pick random equipment from equipment pool for heroes and battle type
Expand Down

0 comments on commit c0c540d

Please sign in to comment.