Change deprecated pipeline: to steps: in .woodpecker.yml
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Anthony Wang 2023-11-23 23:12:54 +00:00
parent 31af807d7a
commit 25f1535164

View file

@ -1,34 +1,34 @@
pipeline: steps:
test1: test1:
image: bash image: bash
commands: commands:
- pwd - pwd
- w - w
- whoami - whoami
- echo $HOME - echo $HOME
- echo $SECRET - echo $SECRET
- env - env
secrets: [ secret ] secrets: [ secret ]
test2: test2:
image: sh image: sh
commands: commands:
- pwd - pwd
- w - w
- echo $HOME - echo $HOME
test3: test3:
image: fish image: fish
commands: commands:
- echo test > test - echo test > test
- echo test2 >> test - echo test2 >> test
- echo (cat test) - echo (cat test)
- python -c "import this" - python -c "import this"
- set test a - set test a
- echo $test - echo $test
test4: test4:
image: zsh image: zsh
commands: commands:
- echo Hello world! - echo Hello world!
- echo $SHELL - echo $SHELL
- pwd - pwd
- env - env
- git status - git status