Skip to content

Commit 346bacc

Browse files
committed
Schedule test
1 parent 1634b81 commit 346bacc

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/sched1.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Scheduled run 1
2+
on:
3+
schedule: '15 * * * *'
4+
5+
jobs:
6+
test_schedule:
7+
runs-on: ubuntu-latest
8+
env:
9+
FOO: ${{ github.event.inputs.dryRun == 'no' && 'null' || github.event.inputs.dryRun || 'null' }}
10+
steps:
11+
- run: echo "ok: $FOO"

.github/workflows/sched2.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Scheduled run 2
2+
on:
3+
schedule: '15 * * * *'
4+
5+
jobs:
6+
test_schedule:
7+
runs-on: ubuntu-latest
8+
env:
9+
FOO: ${{ case( github.event.inputs.dryRun == 'no', 'null', github.event.inputs.dryRun || 'null' ) }}
10+
steps:
11+
- run: echo "ok: $FOO"

0 commit comments

Comments
 (0)