setup-forgejo/testdata/example-if/.forgejo/workflows/test.yml

18 lines
325 B
YAML
Raw Normal View History

2023-09-02 10:20:20 -04:00
on: [push]
jobs:
basic:
runs-on: docker
steps:
- name: if true
if: true
id: if_true
run: echo 'check=good' >> $GITHUB_OUTPUT
- name: verify if true was run
run: test ${{ steps.if_true.outputs.check }} = good
- name: if false
if: false
run: false