#16 Add quick hello world
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12s
Does the runner's shell environment get reset between steps?
This commit is contained in:
parent
29d6f57968
commit
6358df4721
@ -15,4 +15,7 @@ jobs:
|
|||||||
- name: List files in the repository
|
- name: List files in the repository
|
||||||
run: |
|
run: |
|
||||||
ls ${{ gitea.workspace }}
|
ls ${{ gitea.workspace }}
|
||||||
|
- name: List files changed in the most recent commit
|
||||||
|
run: |
|
||||||
|
git diff --name-only HEAD HEAD~1
|
||||||
- run: echo "🍏 This job's status is ${{ gitea.status }}."
|
- run: echo "🍏 This job's status is ${{ gitea.status }}."
|
@ -24,6 +24,7 @@ jobs:
|
|||||||
ssh-keyscan 192.168.1.1 > ~/.ssh/known_hosts
|
ssh-keyscan 192.168.1.1 > ~/.ssh/known_hosts
|
||||||
chmod 0600 ~/.ssh/known_hosts
|
chmod 0600 ~/.ssh/known_hosts
|
||||||
alias ssh='ssh -i /tmp/key'
|
alias ssh='ssh -i /tmp/key'
|
||||||
|
ssh vyos@192.168.1.1 'echo $(date)'
|
||||||
- name: Print running VyOS version
|
- name: Print running VyOS version
|
||||||
run: |
|
run: |
|
||||||
./vyos.sh op show system image
|
./vyos.sh op show system image
|
||||||
|
Loading…
Reference in New Issue
Block a user