mirror of
https://github.com/Vomitblood/stort.git
synced 2024-11-26 22:05:24 +08:00
updated github actions workflow
This commit is contained in:
parent
5ec8cfa515
commit
d57e785613
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue