Skip to content

Commit

Permalink
yml changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Isthisanmol committed Aug 14, 2024
1 parent 484fd06 commit 51fb482
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ tauri-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ jobs:
fail-fast: false
matrix:
include:
- platform: 'macos-latest' # for Arm based Macs (M1 and above).
- platform: 'macos-latest'
arch: 'arm64'
args: '--target aarch64-apple-darwin'
- platform: 'macos-latest' # for Intel based Macs.
- platform: 'macos-latest'
arch: 'x64'
args: '--target x86_64-apple-darwin'
- platform: 'ubuntu-22.04' # Tauri v1 users can replace this with ubuntu-20.04.
- platform: 'ubuntu-22.04'
args: ''
- platform: 'windows-latest'
args: ''
Expand Down Expand Up @@ -49,9 +51,10 @@ jobs:

- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
# These targets are used only on macOS runners.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

- name: Add macOS-specific Rust targets
if: matrix.platform == 'macos-latest'
run: rustup target add aarch64-apple-darwin x86_64-apple-darwin

- name: Install dependencies (Ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
Expand All @@ -67,8 +70,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: app-v__VERSION__ # The action automatically replaces __VERSION__ with the app version.
releaseName: 'App v__VERSION__'
tagName: Packrat-1.0.0
releaseName: 'Packrat'
releaseBody: 'See the assets to download this version and install.'
releaseDraft: true
prerelease: false
Expand Down

0 comments on commit 51fb482

Please sign in to comment.