Skip to content

Commit

Permalink
ci: fixup build script
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Apr 29, 2024
1 parent ff1a3ff commit 36aeb06
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ jobs:
with:
dotnet-version: '7.0.x'
- name: 'Build'
run: 'dotnet build ZenKit -c Release -o __build && dotnet pack -c Release -o ./__publish/ -v detailed ZenKit'
run: 'dotnet build DirectMusic -c Release -o __build && dotnet pack -c Release -o ./__publish/ -v detailed DirectMusic'
- name: 'Publish'
uses: 'actions/upload-artifact@v3'
with:
name: 'NuGet Package'
path: '__publish'
- name: 'Copy Artifacts'
run: 'mkdir Artifacts && mv ZenKit/runtimes Artifacts/ && cp __build/ZenKit.dll Artifacts/ && echo "Copy the native library for your OS from the `runtime` folder into the same folder `ZenKit.dll` is in." > Artifacts/README.md'
run: >
mkdir Artifacts && mv DirectMusic/runtimes Artifacts/ &&
cp __build/DirectMusic.dll Artifacts/ &&
cp __build/DirectMusic.pdb Artifacts/ &&
echo "Copy the native library for your OS from the `runtime` folder into the same folder `DirectMusic.dll` is in." > Artifacts/README.md'
- name: 'Publish'
uses: 'actions/upload-artifact@v3'
with:
Expand Down

0 comments on commit 36aeb06

Please sign in to comment.