Skip to content

Commit f27f71b

Browse files
committed
wip nightly cronjob CI
1 parent f7972c9 commit f27f71b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,19 @@ on:
1919
pull_request:
2020
branches: '*'
2121

22+
2223
jobs:
2324

2425
# Build job - basic smoke test
2526
check:
2627
runs-on: ubuntu-latest
2728
steps:
29+
- name: Set the rust toolchain to use
30+
# pull_request is a fake for me to be able to test this for now
31+
- if: github.event.schedule || github.event.pull_request || (github.event.workflow_dispatch && inputs.nightly)
32+
run: |
33+
rustup default nightly
34+
echo "ICU4X_NIGHTLY_TOOLCHAIN=nightly" >> >> $GITHUB_ENV
2835
- uses: actions/checkout@v2
2936
- name: Load the default Rust toolchain via the rust-toolchain file.
3037
run: rustup show

0 commit comments

Comments
 (0)