chore: fix workflow
This commit is contained in:
parent
85688dac89
commit
63ced43d5c
@ -7,7 +7,6 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ubuntu-latest # [ubuntu-latest, macos-latest, windows-latest]
|
os: ubuntu-latest # [ubuntu-latest, macos-latest, windows-latest]
|
||||||
|
|
||||||
name: Cargo install on ubuntu-latest
|
name: Cargo install on ubuntu-latest
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
@ -25,6 +24,7 @@ jobs:
|
|||||||
#run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
#run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
run: |
|
run: |
|
||||||
|
ls ${{ gitea.workspace }}
|
||||||
export RUSTUP_HOME=/usr/share/rust/.rustup
|
export RUSTUP_HOME=/usr/share/rust/.rustup
|
||||||
export CARGO_HOME=/usr/share/rust/.cargo
|
export CARGO_HOME=/usr/share/rust/.cargo
|
||||||
printf "\n\t🐋 Installing dependencies 🐋\t\n"
|
printf "\n\t🐋 Installing dependencies 🐋\t\n"
|
||||||
@ -35,7 +35,7 @@ jobs:
|
|||||||
source "${CARGO_HOME}/env"
|
source "${CARGO_HOME}/env"
|
||||||
rustup component add rustfmt clippy
|
rustup component add rustfmt clippy
|
||||||
printf "\n\t🐋 Installed RUSTUP 🐋\t\n"
|
printf "\n\t🐋 Installed RUSTUP 🐋\t\n"
|
||||||
rustup -V
|
rustc -V
|
||||||
printf "\n\t🐋 Installed CARGO 🐋\t\n"
|
printf "\n\t🐋 Installed CARGO 🐋\t\n"
|
||||||
cargo -V
|
cargo -V
|
||||||
printf "\n\t🐋 Installed RUSTC 🐋\t\n"
|
printf "\n\t🐋 Installed RUSTC 🐋\t\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user