Skip to content

Commit

Permalink
ci: fix nuget pack in gha ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
moomiji committed Dec 20, 2024
1 parent da15219 commit 3a72feb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ jobs:

nuget_pack:
needs: [meta, windows, ubuntu, macos, android]
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- uses: nuget/setup-nuget@v2

Expand All @@ -362,8 +362,9 @@ jobs:

- name: Nuget Pack
working-directory: tools/nupkgs
shell: bash
run: |
wget https://raw.githubusercontent.com/MaaAssistantArknights/design/main/logo/maa-logo_128x128.png
curl -sSOL https://raw.githubusercontent.com/MaaAssistantArknights/design/main/logo/maa-logo_128x128.png
version=${{ needs.meta.outputs.version }}
for NUSPEC in Maa.Framework.Runtime*.nuspec; do
cat Head.nuspec $NUSPEC Tail.nuspec > temp && mv temp $NUSPEC
Expand Down

0 comments on commit 3a72feb

Please sign in to comment.