Skip to content

Commit

Permalink
fix: ci build for tauri 2
Browse files Browse the repository at this point in the history
  • Loading branch information
RouHim committed Oct 20, 2024
1 parent ccf2942 commit a7fd4c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ ubuntu-20.04, windows-latest ]
platform: [ ubuntu-22.04, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
cd ..
- name: Install Tauri dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-22.04'
run: sudo apt update && sudo apt install -y libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev

- uses: cargo-bins/cargo-binstall@main
Expand All @@ -206,7 +206,7 @@ jobs:
cargo tauri build
- name: Upload linux AppImage
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-22.04'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -216,7 +216,7 @@ jobs:
asset_name: binvec_${{ env.VERSION }}_amd64.AppImage
asset_content_type: application/octet-stream
- name: Upload linux AppImage updater
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-22.04'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -226,7 +226,7 @@ jobs:
asset_name: binvec_${{ env.VERSION }}_amd64.AppImage.tar.gz
asset_content_type: application/octet-stream
- name: Upload linux AppImage updater signature
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-22.04'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit a7fd4c2

Please sign in to comment.