Skip to content

Commit

Permalink
modify release script for new builds
Browse files Browse the repository at this point in the history
  • Loading branch information
samlhuillier committed May 2, 2024
1 parent d1fcff2 commit 528be7e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ jobs:
strategy:
matrix:
include:
- os: macos-13
# arch: x64
- os: macos-latest
# arch: arm64
- os: windows-latest
- os: ubuntu-latest
- os: macos-latest # Intel-based macOS (default architecture)
arch: x64
- os: macos-latest-xlarge # macOS with M1 chip (ARM architecture)
arch: arm64
fail-fast: false

steps:
Expand Down Expand Up @@ -74,12 +75,12 @@ jobs:
run: echo "APP_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV

- name: Rename artifacts for ARM architecture
if: matrix.os == 'macos-latest-xlarge'
if: matrix.os == 'macos-latest'
run: |
mv ./release/${{ env.APP_VERSION }}/*.dmg ./release/${{ env.APP_VERSION }}/Reor_${{ env.APP_VERSION }}-arm64.dmg
- name: Rename artifacts for Intel architecture
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-13'
run: |
mv ./release/${{ env.APP_VERSION }}/*.dmg ./release/${{ env.APP_VERSION }}/Reor_${{ env.APP_VERSION }}-intel.dmg
Expand Down

0 comments on commit 528be7e

Please sign in to comment.