Support release nightlies (#63)

* Support release nightlies

See #62

* Replace == nightly with endsWith nightly

* Use majorMinorMatch, not full match

* Replace more (in-)equality checks

* Reduce number of duplicate CI builds

* Add example to docs

* Tidy up nightly conditions
This commit is contained in:
Sascha Mann
2021-01-08 05:09:50 +01:00
committed by GitHub
parent 66addd1b2f
commit 531b2e0973
5 changed files with 35 additions and 26 deletions

View File

@@ -2,6 +2,7 @@ name: Example builds (nightly)
on:
push:
branches: ['main', 'master', 'releases/*']
pull_request:
schedule:
- cron: '37 17 * * *'
@@ -12,6 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
julia-version: [nightly, 1.6-nightly]
julia-arch: [x64, x86]
os: [ubuntu-latest, macOS-latest, windows-latest]
# 32-bit Julia binaries are not available on macOS
@@ -28,10 +30,10 @@ jobs:
npm run build
npm run pack
- name: "Set up Julia (nightly)"
- name: "Set up Julia (${{ matrix.julia-version }})"
uses: ./
with:
version: nightly
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
show-versioninfo: 'true'
- run: julia --version

View File

@@ -1,6 +1,9 @@
name: Example builds
on: [push, pull_request]
on:
push:
branches: ['main', 'master', 'releases/*']
pull_request:
jobs:
test: