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
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
run: apt update && apt install -y git
@ -32,16 +44,6 @@ jobs:
- 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
- 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
run: |
install -dm 755 /etc/apt/keyrings