[chore] added windows, aarch-apple
This commit is contained in:
10
.github/workflows/github-actions-builder.yml
vendored
10
.github/workflows/github-actions-builder.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [ubuntu-20.04,macos-latest]
|
||||
platform: [ubuntu-latest,macos-latest,windows-latest]
|
||||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
@@ -32,15 +32,15 @@ jobs:
|
||||
with:
|
||||
toolchain: stable
|
||||
- name: install dependencies (ubuntu only)
|
||||
if: matrix.platform == 'ubuntu-20.04'
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
|
||||
- name: install frontend dependencies
|
||||
run: pnpm install --no-frozen-lockfile # change this to npm or pnpm depending on which one you use
|
||||
- if: matrix.platform == 'ubuntu-20.04'
|
||||
- if: matrix.platform == 'ubuntu-latest'
|
||||
run: pnpm tauri build --target x86_64-unknown-linux-gnu
|
||||
- if: matrix.platform == 'ubuntu-20.04'
|
||||
- if: matrix.platform == 'ubuntu-latest'
|
||||
uses: "softprops/action-gh-release@v1"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
@@ -53,6 +53,8 @@ jobs:
|
||||
src-tauri/target/x86_64-unknown-linux-gnu/release/**/*.AppImage
|
||||
- if: matrix.platform == 'macos-latest'
|
||||
run: pnpm tauri build --target x86_64-apple-darwin
|
||||
- if: matrix.platform == 'macos-latest'
|
||||
run: pnpm tauri build --target aarch64-apple-darwin
|
||||
- if: matrix.platform == 'macos-latest'
|
||||
uses: "softprops/action-gh-release@v1"
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user