Skip to content

Commit

Permalink
fix release profile (trunk install)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeFan committed Dec 22, 2024
1 parent 733d0a3 commit 2da3a5c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,19 @@ jobs:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

- name: install ubuntu dependencies
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: install windows dependencies
if: matrix.platform == 'windows-latest'
run: |
choco install openssl
# Add OpenSSL to PATH
echo "C:\Program Files\OpenSSL-Win64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: install cargo-binstall
uses: cargo-bins/cargo-binstall@main

- name: install trunk
run: |
rustup target add wasm32-unknown-unknown
cargo install trunk
cargo binstall trunk
- uses: tauri-apps/tauri-action@v0
env:
Expand Down

0 comments on commit 2da3a5c

Please sign in to comment.