action-test/.forgejo/workflows/demo.yaml
Neshura ce6227ee99
Some checks failed
/ test-docker (push) Successful in 1s
/ test-dind (push) Failing after 2s
Update .forgejo/workflows/demo.yaml
2023-12-29 02:23:37 +00:00

18 lines
388 B
YAML

on: [push]
jobs:
test-docker:
runs-on: docker
steps:
- run: echo Docker works!
test-dind:
runs-on: dind
steps:
- run: docker run hello-world
-
name: test
if: ${{ search(github.ref_name, 'a') }}
run: echo works
-
name: test inverse
if: ${{ ! search(github.ref_name, 'a') }}
run: echo works as well