chore: fix workflow

This commit is contained in:
Jesús Pérez 2023-07-20 00:18:25 +01:00
parent 21a3e38060
commit 14ce2f3adb

View File

@ -18,12 +18,12 @@ 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 }}."
# ls ${{ gitea.workspace }} #- name: Check out repository code
- name: Check out repository code # uses: actions/checkout@v3
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 }}
# 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"
@ -45,11 +45,12 @@ jobs:
# 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 -l /
ls -l /toolcache #ls -l /toolcache
echo "Hello" > /toolcache/hello.txt #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