Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejcl committed Dec 12, 2024
1 parent 3906bf6 commit f06c2de
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,18 @@ jobs:
npm list @tauri-apps/cli
- name: Build
if: matrix.platform == 'ubuntu-20.04' || matrix.platform == 'windows-latest'
if: matrix.platform == 'ubuntu-20.04'
run: |
npm run build
npm run prepare:dist
zip -r Dwarfium.zip Dwarfium
- name: Build Windows
if: matrix.platform == 'windows-latest'
run: |
npm run build
npm run prepare:dist
if [ "${{ matrix.platform }}" == "windows-latest" ]; then
powershell Compress-Archive -Path Dwarfium -DestinationPath Dwarfium.zip
else
zip -r Dwarfium.zip Dwarfium
fi
powershell Compress-Archive -Path Dwarfium -DestinationPath Dwarfium.zip
- name: Create artifact Dwarfium
if: matrix.platform == 'ubuntu-20.04'
Expand Down

0 comments on commit f06c2de

Please sign in to comment.