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