File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change 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 }}
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'
You can’t perform that action at this time.
0 commit comments