Skip to content

Commit

Permalink
ci: bundle needed dlls on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Rachel Powers <[email protected]>
  • Loading branch information
Ryex committed Oct 2, 2024
1 parent 74aaf94 commit 6c2ba79
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,26 @@ jobs:
ls ./cmd/dungeondraft-packager
- name: Prep artifacts (windows)
if: ${{ runner.os == 'windows' }}
shell: msys2 {0}
run: |
mkdir install
cp "./cmd/dungeondraft-packager/Dungeondraft GoPackager.exe" ./install/dungeondraft-packager.exe
cp "./dungeondraft-packager-cli.exe" ./install
cp *.md ./install
cp /ucrt64/bin/libwebp-*.dll ./install
cp /ucrt64/bin/libsharpyuv--*.dll ./install
- name: Prep artifacts
if: ${{ runner.os != 'windows' }}
run: |
mv "./cmd/dungeondraft-packager/Dungeondraft GoPackager.exe" ./dungeondraft-packager.exe
mkdir install
cp ./dungeondraft-packager* ./install
cp *.md ./install
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Dungeondraft-GoPackager-${{ runner.os }}
path: |
dungeondraft-packager*
README.md
LICENSE.md
CHANGELOG.md
path: install/**

release:
needs: build
Expand Down

0 comments on commit 6c2ba79

Please sign in to comment.