updated github actions workflow

This commit is contained in:
Vomitblood 2024-08-08 01:38:39 +08:00
parent 5ec8cfa515
commit d57e785613

View file

@ -15,6 +15,18 @@ jobs:
image: ubuntu:22.04 image: ubuntu:22.04
steps: steps:
- name: Install Rust
run: |
apt update && apt install -y curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
shell: bash
- name: Testing
run: |
cargo --help
cargo --version
- name: Install git - name: Install git
run: apt update && apt install -y git run: apt update && apt install -y git
@ -32,16 +44,6 @@ jobs:
- name: Install dependencies for Tauri - name: Install dependencies for Tauri
run: apt install -y libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev run: apt install -y libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
shell: bash
- name: Check cargo version
run: cargo --version
shell: bash
- name: Install mise - name: Install mise
run: | run: |
install -dm 755 /etc/apt/keyrings install -dm 755 /etc/apt/keyrings