diff --git a/1.txt b/1.txt index d5e3af4..da4ede4 100644 --- a/1.txt +++ b/1.txt @@ -1,8 +1,8 @@ 1111 -222 -333 -444 -555 +2222 +3333 +4444 +5555 666 777 888 diff --git a/README.md b/README.md index 5ce598a..46cb07f 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,4 @@ f asf sa hjadsjgksd shjasfhkjsah jjjllhhh -oookkkkkkk +oookkkkkkkk diff --git a/woodpecker.yml b/woodpecker.yml index 7fcd69e..48529a1 100644 --- a/woodpecker.yml +++ b/woodpecker.yml @@ -2,8 +2,7 @@ # Migrated from GitHub Actions workflow when: - branch: main - event: push + event: push steps: # Job: sleep-job @@ -11,64 +10,97 @@ steps: image: alpine:latest commands: - sleep 2 + when: + branch: main sleep-2: image: alpine:latest commands: - sleep 2 + when: + branch: main sleep-3: image: alpine:latest commands: - sleep 2 + when: + branch: main sleep-4: image: alpine:latest commands: - sleep 2 + when: + branch: main sleep-5: image: alpine:latest commands: - sleep 2 + when: + branch: main sleep-6: image: alpine:latest commands: - sleep 2 + when: + branch: main sleep-7: image: alpine:latest commands: - sleep 0.8 + when: + branch: main sleep-8: image: alpine:latest commands: - sleep 0.9 + when: + branch: main sleep-9: image: alpine:latest commands: - sleep 1 + when: + branch: main sleep-10: image: alpine:latest commands: - sleep 1.1 + when: + branch: main # Job: sleep-job-2 sleep-11: image: alpine:latest commands: - sleep 0.9 + when: + branch: main sleep-12: image: alpine:latest commands: - sleep 0.8 + when: + branch: main sleep-13: image: alpine:latest commands: - sleep 0.7 + when: + branch: main + + global-step: + image: alpine:latest + commands: + - echo "This runs on push for all branches" + when: + branch: '**'