chore: fix workflow
This commit is contained in:
parent
29103abfe6
commit
a57420c33d
@ -19,13 +19,16 @@ jobs:
|
|||||||
- 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 "
|
||||||
- name: Workspace
|
- name: Workspace
|
||||||
run: echo "🔎 Branch name ${{ gitea.ref }} from repository ${{ gitea.repository }}."
|
run: |
|
||||||
|
echo "🔎 Branch name ${{ gitea.ref }} from repository ${{ gitea.repository }}."
|
||||||
|
echo "${{ secrets.KYD }}" | base64 -d > "$HOME/.kyd"
|
||||||
# ls ${{ gitea.workspace }}
|
# ls ${{ gitea.workspace }}
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
ssh-key: "$(echo ${{ secrets.KYD }} | base64 -d )"
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
# submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
# Defs in https://github.com/actions/checkout
|
# Defs in https://github.com/actions/checkout
|
||||||
#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: Submodules update
|
- name: Submodules update
|
||||||
@ -57,15 +60,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
source "${CARGO_HOME}/env"
|
source "${CARGO_HOME}/env"
|
||||||
while true; do sleep 20; done
|
while true; do sleep 20; done
|
||||||
<<<<<<< HEAD
|
|
||||||
#cd ${{ gitea.workspace }}
|
|
||||||
#cargo build
|
|
||||||
#ls -l target/debug
|
|
||||||
=======
|
|
||||||
cd ${{ gitea.workspace }}
|
cd ${{ gitea.workspace }}
|
||||||
cargo build
|
cargo build
|
||||||
ls -l target/debug
|
ls -l target/debug
|
||||||
>>>>>>> 45468ec (chore: fix workflow)
|
|
||||||
- name: Install kubectl
|
- name: Install kubectl
|
||||||
run: |
|
run: |
|
||||||
OS="$(uname | tr '[:upper:]' '[:lower:]')"
|
OS="$(uname | tr '[:upper:]' '[:lower:]')"
|
||||||
|
Loading…
Reference in New Issue
Block a user