Skip to content

Commit

Permalink
feat: added multi-platform build support
Browse files Browse the repository at this point in the history
  • Loading branch information
ropali committed Sep 15, 2024
1 parent aa71380 commit 45244b9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ jobs:
fail-fast: false
matrix:
include:
- platform: 'ubuntu-22.04'
- platform: 'macos-latest' # for Arm based macs (M1 and above).
args: '--target aarch64-apple-darwin'
- platform: 'macos-latest' # for Intel based macs.
args: '--target x86_64-apple-darwin'
- platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
args: ''
- platform: 'windows-latest'
args: ''
# - platform: 'windows-latest'
# args: ''

runs-on: ${{ matrix.platform }}
environment: PROD
Expand Down Expand Up @@ -51,7 +55,6 @@ jobs:
cat CHANGELOG.md
cat CHANGELOG.md >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo ${{ env.RELEASE_BODY }}
- uses: tauri-apps/tauri-action@v0
env:
Expand All @@ -62,6 +65,7 @@ jobs:
tagName: app-v__VERSION__
releaseName: 'App v__VERSION__'
releaseBody: ${{ env.RELEASE_BODY }} # Use the changelog content as the release body
releaseId: ${{github.ref_name}}
releaseDraft: true
prerelease: false
args: ${{ matrix.args }}

0 comments on commit 45244b9

Please sign in to comment.