Skip to content

Commit

Permalink
fix: 不需要cross,直接运行cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
HalfSweet committed Jan 17, 2024
1 parent dfd742a commit f874424
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
- name: Rust setup
uses: dtolnay/rust-toolchain@stable

Expand Down Expand Up @@ -112,11 +105,11 @@ jobs:
- name: Install Cross and tauri-cki
run: |
cargo install cross
cargo install tauri-cli
- name: Build
run: |
cross tauri build --target ${{ matrix.target.name }}
cargo tauri build --target ${{ matrix.target.name }}

0 comments on commit f874424

Please sign in to comment.