Skip to content

Commit 1eaa859

Browse files
committed
Attempt to upload macOS assets to release
1 parent 2e63a0b commit 1eaa859

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/deploy-tauri.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
- tauri-target: aarch64-apple-darwin
6868
# Intel based macs.
6969
- tauri-target: x86_64-apple-darwin
70+
# Universal
71+
- tauri-target: aarch64-apple-darwin,x86_64-apple-darwin
7072
runs-on: macos-latest
7173
env:
7274
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
@@ -92,7 +94,24 @@ jobs:
9294
pnpm build
9395
- name: Build macOS app
9496
run: |
95-
pnpm tauri build --verbose --target ${{ matrix.tauri-target }}
97+
pnpm tauri build --verbose
98+
- name: Release
99+
uses: softprops/action-gh-release@v2
100+
with:
101+
draft: true
102+
files: |
103+
./src-tauri/target/aarch64-apple-darwin/release/bundle/**/*.dmg
104+
./src-tauri/target/aarch64-apple-darwin/release/bundle/**/*.app
105+
./src-tauri/target/aarch64-apple-darwin/release/bundle/**/*.tar.gz
106+
./src-tauri/target/aarch64-apple-darwin/release/bundle/**/*.tar.gz.sig
107+
./src-tauri/target/x86_64-apple-darwin/release/bundle/**/*.dmg
108+
./src-tauri/target/x86_64-apple-darwin/release/bundle/**/*.app
109+
./src-tauri/target/x86_64-apple-darwin/release/bundle/**/*.tar.gz
110+
./src-tauri/target/x86_64-apple-darwin/release/bundle/**/*.tar.gz.sig
111+
make_latest: true
112+
name: App v0.0.1-alpha
113+
tag_name: app-v0.0.1-alpha
114+
target_commitish: ${{ github.sha }}
96115
build-desktop-windows:
97116
runs-on: windows-latest
98117
steps:
@@ -193,4 +212,4 @@ jobs:
193212
- build-mobile-android
194213
- build-mobile-ios
195214
steps:
196-
- run: echo "Release"
215+
- run: echo 'Release'

0 commit comments

Comments
 (0)