chore: fix workflow
This commit is contained in:
parent
14ce2f3adb
commit
33eaf88cb2
@ -18,39 +18,38 @@ jobs:
|
|||||||
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 "
|
||||||
- name: Workspace
|
- name: Workspace
|
||||||
run: echo "🔎 Branch name ${{ gitea.ref }} from repository ${{ gitea.repository }}."
|
run: echo "🔎 Branch name ${{ gitea.ref }} from repository ${{ gitea.repository }}."
|
||||||
#- name: Check out repository code
|
# ls ${{ gitea.workspace }}
|
||||||
# uses: actions/checkout@v3
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v3
|
||||||
#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 -la ${{ gitea.workspace }}
|
while true; do sleep 20; done
|
||||||
# export RUSTUP_HOME=//share/rust/.rustup
|
export RUSTUP_HOME=//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"
|
||||||
# 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
|
||||||
# printf "\n\t🐋 Installing Rust 🐋\t\n"
|
printf "\n\t🐋 Installing Rust 🐋\t\n"
|
||||||
# curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=stable --profile=minimal
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=stable --profile=minimal
|
||||||
# source "${CARGO_HOME}/env"
|
source "${CARGO_HOME}/env"
|
||||||
# rustup component add rustfmt clippy
|
rustup component add rustfmt clippy
|
||||||
# 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"
|
||||||
# rustc -V
|
rustc -V
|
||||||
# # printf "\n\t🐋 Installed RUSTUP 🐋\t\n"
|
# printf "\n\t🐋 Installed RUSTUP 🐋\t\n"
|
||||||
# # rustup -V
|
# rustup -V
|
||||||
- name: Rust build
|
- name: Rust build
|
||||||
run: |
|
run: |
|
||||||
# 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
|
||||||
# source "${CARGO_HOME}/env"
|
source "${CARGO_HOME}/env"
|
||||||
cd ${{ gitea.workspace }}
|
cd ${{ gitea.workspace }}
|
||||||
ls -la /home/rootless
|
|
||||||
pwd
|
pwd
|
||||||
#ls -l /
|
ls
|
||||||
#ls -l /toolcache
|
ls /home/rootless/
|
||||||
#echo "Hello" > /toolcache/hello.txt
|
df -h
|
||||||
#df -h
|
|
||||||
#cargo build
|
#cargo build
|
||||||
#ls -l target/debug
|
#ls -l target/debug
|
||||||
- name: Install kubectl
|
- name: Install kubectl
|
||||||
|
Loading…
Reference in New Issue
Block a user