chore: fix workflow
This commit is contained in:
parent
9deebe4b6e
commit
49731f0f2e
@ -13,6 +13,8 @@ jobs:
|
||||
CARGO_TERM_COLOR: always
|
||||
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
||||
KUBECONFIG: "/tmp/.kubeconfig"
|
||||
RUSTUP_HOME: "/toolcache/rust/.rustup"
|
||||
CARGO_HOME: "/toolcache/rust/.cargo"
|
||||
steps:
|
||||
- name: Init job triggered by event
|
||||
run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event "
|
||||
@ -24,8 +26,6 @@ jobs:
|
||||
#run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- name: Install Rust
|
||||
run: |
|
||||
export RUSTUP_HOME=/toolcache/rust/.rustup
|
||||
export CARGO_HOME=/toolcach/rust/.cargo
|
||||
printf "\n\t🐋 Installing dependencies 🐋\t\n"
|
||||
apt-get -yq update
|
||||
apt-get -yq install build-essential llvm libssl-dev
|
||||
@ -46,8 +46,6 @@ jobs:
|
||||
# rustup -V
|
||||
- name: Rust build
|
||||
run: |
|
||||
export RUSTUP_HOME=/toolcache/rust/.rustup
|
||||
export CARGO_HOME=/toolcach/rust/.cargo
|
||||
source "${CARGO_HOME}/env"
|
||||
cd ${{ gitea.workspace }}
|
||||
cargo build
|
||||
|
Loading…
Reference in New Issue
Block a user