end-to-end/actions/example-if/.forgejo/workflows/test.yml
2023-10-29 00:03:57 +02:00

18 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