Merge pull request #10 from actions-rust-lang/issue-9
This commit is contained in:
commit
ba68a52e42
|
@ -8,8 +8,8 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
install:
|
install:
|
||||||
name: Rust ${{matrix.rust}}
|
name: Rust ${{matrix.rust}} ${{matrix.os}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{matrix.os}}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -23,6 +23,11 @@ jobs:
|
||||||
"beta",
|
"beta",
|
||||||
"stable",
|
"stable",
|
||||||
]
|
]
|
||||||
|
os: [
|
||||||
|
"ubuntu-latest",
|
||||||
|
"windows-latest",
|
||||||
|
"macos-latest",
|
||||||
|
]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# Test toolchain file support
|
# Test toolchain file support
|
||||||
|
|
|
@ -44,6 +44,13 @@ outputs:
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
|
# The later code uses "newer" bash features, which are not available in the ancient bash 3 (from 2014) of macOS
|
||||||
|
- name: Unbork mac
|
||||||
|
if: runner.os == 'macOS'
|
||||||
|
run: |
|
||||||
|
brew install bash
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- id: flags
|
- id: flags
|
||||||
run: |
|
run: |
|
||||||
: construct rustup command line
|
: construct rustup command line
|
||||||
|
|
Loading…
Reference in New Issue