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