setup-forgejo/testdata/example-if/.forgejo/workflows/test.yml
2023-09-02 17:03:55 +02:00

17 lines
325 B
YAML

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