Fogejo Actions tests
This commit is contained in:
parent
d255395fc8
commit
7ccbeb7a46
34 changed files with 764 additions and 1 deletions
17
actions/example-if/.forgejo/workflows/test.yml
Normal file
17
actions/example-if/.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
Loading…
Add table
Reference in a new issue