Skip to content

Commit 558a8e4

Browse files
committed
main2.md
1 parent fcefb6f commit 558a8e4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/cd.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ jobs:
2323
runs-on: ubuntu-latest
2424

2525
steps:
26+
- name: output
27+
run: |
28+
echo ${{ github.ref }}
29+
echo ${{ github.event_name }}
30+
echo ${{ github.event.inputs.version }}
31+
echo ${{ github.event.inputs.preid }}
32+
echo ${{ github.event.inputs.force }}
33+
2634
- name: Validate inputs
2735
if: ${{ github.event_name == 'workflow_dispatch' && ((github.ref != 'refs/heads/dev' && github.ref != 'refs/heads/main') || (github.ref == 'refs/heads/dev' && (!startsWith(github.event.inputs.version, 'pre') || github.event.inputs.preid != 'alpha')) || (github.ref == 'refs/heads/main' && startsWith(github.event.inputs.version, 'pre') && github.event.inputs.preid != 'rc')) }}
2836
run: |

0 commit comments

Comments
 (0)