Skip to content

Commit

Permalink
Update workflow for ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Dec 12, 2024
1 parent 82f4800 commit 01fed2e
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,16 @@ jobs:
run: |
mv src-tauri/target/release/bundle/dmg/Angor_${{ env.VERSION }}_aarch64.dmg src-tauri/target/release/bundle/dmg/angor-desktop-${{ env.VERSION }}-mac-aarch64.dmg
- name: Rename Mac files
if: matrix.os == 'windows-latest'
- name: Rename Windows files
if: matrix.runtime == 'win-x64'
run: |
mv src-tauri/target/release/bundle/msi/Angor_${{ env.VERSION }}_x64_en-US.msi src-tauri/target/release/bundle/msi/angor-desktop-${{ env.VERSION }}-win-x64.msi
- name: Rename Windows files
if: matrix.runtime == 'win-arm64'
run: |
mv src-tauri/target/release/bundle/msi/Angor_${{ env.VERSION }}_arm64_en-US.msi src-tauri/target/release/bundle/msi/angor-desktop-${{ env.VERSION }}-win-arm64.msi
- uses: actions/upload-artifact@v4
name: Upload Linux
if: matrix.os == 'ubuntu-latest'
Expand All @@ -122,11 +127,19 @@ jobs:

- uses: actions/upload-artifact@v4
name: Upload Windows
if: matrix.os == 'windows-latest'
if: matrix.runtime == 'win-x64'
with:
name: angor-desktop-${{ env.VERSION }}-win-x64.msi
path: src-tauri\target\release\bundle\msi\angor-desktop-${{ env.VERSION }}-win-x64.msi

- uses: actions/upload-artifact@v4
name: Upload Windows
if: matrix.runtime == 'win-arm64'
with:
name: angor-desktop-${{ env.VERSION }}-win-arm64.msi
path: src-tauri\target\release\bundle\msi\angor-desktop-${{ env.VERSION }}-win-arm64.msi


create-release:
name: Publish (Release)
needs: build
Expand Down

0 comments on commit 01fed2e

Please sign in to comment.