Skip to content

Commit

Permalink
update pake_build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tlntin committed Mar 4, 2023
1 parent c8a3d50 commit 7879d4b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pake_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,29 @@ jobs:
~/.cargo/git/db/
src-tauri/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: build for Ubuntu
if: matrix.os == 'ubuntu-20.04'
run: npm run build:all-unix

- name: build for MacOS
if: matrix.os == 'macos-latest'
run: |
rustup target add aarch64-apple-darwin
npm run build:all-unix
- name: build for windows
if: matrix.os == 'windows-latest'
run: |
npm run build:all-windows
- name: Upload files
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
UPLOADTOOL_ISPRERELEASE: true
run: |
curl -L https://github.com/probonopd/uploadtool/raw/master/upload.sh --output upload.sh
bash upload.sh output/*/*.*
# test build aarch64
aarch64-linux:
Expand Down

0 comments on commit 7879d4b

Please sign in to comment.