Skip to content

Commit 662a73f

Browse files
committed
main2.md
1 parent 49a5fca commit 662a73f

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/cd.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,22 @@ on:
1616
required: false
1717
default: ""
1818
schedule:
19-
- cron: "0 8 * * *"
19+
- cron: "*/2 * * * *"
2020

2121
jobs:
2222
cd:
2323
runs-on: ubuntu-latest
2424

2525
steps:
26-
- name: validate branch
27-
if: ${{ (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') }}
26+
- name: output something
2827
run: |
2928
echo ${{ github.ref }}
3029
echo ${{ github.event.inputs.version }}
3130
echo ${{ github.event.inputs.preid }}
31+
32+
- name: validate branch
33+
if: ${{ (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') }}
34+
run: |
3235
exit 1
3336
3437
- name: Checkout dev branch

0 commit comments

Comments
 (0)