mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2024-12-26 00:52:17 +01:00
Merge pull request #10 from actions-rust-lang/issue-9
This commit is contained in:
commit
ba68a52e42
2 changed files with 14 additions and 2 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
@ -8,8 +8,8 @@ on:
|
|||
|
||||
jobs:
|
||||
install:
|
||||
name: Rust ${{matrix.rust}}
|
||||
runs-on: ubuntu-latest
|
||||
name: Rust ${{matrix.rust}} ${{matrix.os}}
|
||||
runs-on: ${{matrix.os}}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
@ -23,6 +23,11 @@ jobs:
|
|||
"beta",
|
||||
"stable",
|
||||
]
|
||||
os: [
|
||||
"ubuntu-latest",
|
||||
"windows-latest",
|
||||
"macos-latest",
|
||||
]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
# Test toolchain file support
|
||||
|
|
|
@ -44,6 +44,13 @@ outputs:
|
|||
runs:
|
||||
using: composite
|
||||
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
|
||||
run: |
|
||||
: construct rustup command line
|
||||
|
|
Loading…
Reference in a new issue