Skip to content

Commit 7879d4b

Browse files
committed
update pake_build.yaml
1 parent c8a3d50 commit 7879d4b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/pake_build.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,29 @@ jobs:
6464
~/.cargo/git/db/
6565
src-tauri/target/
6666
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
67+
68+
- name: build for Ubuntu
69+
if: matrix.os == 'ubuntu-20.04'
70+
run: npm run build:all-unix
71+
72+
- name: build for MacOS
73+
if: matrix.os == 'macos-latest'
74+
run: |
75+
rustup target add aarch64-apple-darwin
76+
npm run build:all-unix
77+
78+
- name: build for windows
79+
if: matrix.os == 'windows-latest'
80+
run: |
81+
npm run build:all-windows
82+
83+
- name: Upload files
84+
env:
85+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86+
UPLOADTOOL_ISPRERELEASE: true
87+
run: |
88+
curl -L https://github.com/probonopd/uploadtool/raw/master/upload.sh --output upload.sh
89+
bash upload.sh output/*/*.*
6790
6891
# test build aarch64
6992
aarch64-linux:

0 commit comments

Comments
 (0)