Skip to content

Commit bc8162d

Browse files
committed
Schedule test
1 parent 1634b81 commit bc8162d

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/sched1.yml

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

.github/workflows/sched2.yml

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

0 commit comments

Comments
 (0)