1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-22 19:02:54 +01:00

Use rust-toolchain file to determine version in workflows, disabled mac builds for now

This commit is contained in:
Daniel García 2020-01-28 21:16:06 +01:00
parent 5352321fe1
commit 3d1ee9ef62
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A

View File

@ -18,7 +18,7 @@ jobs:
target:
- x86_64-unknown-linux-gnu
# - x86_64-unknown-linux-musl
- x86_64-apple-darwin
# - x86_64-apple-darwin
# - x86_64-pc-windows-msvc
include:
- target: x86_64-unknown-linux-gnu
@ -27,9 +27,9 @@ jobs:
# - target: x86_64-unknown-linux-musl
# os: ubuntu-latest
# ext:
- target: x86_64-apple-darwin
os: macOS-latest
ext:
# - target: x86_64-apple-darwin
# os: macOS-latest
# ext:
# - target: x86_64-pc-windows-msvc
# os: windows-latest
# ext: .exe
@ -110,10 +110,9 @@ jobs:
key: ${{ runner.os }}-${{matrix.db-backend}}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- name: Install latest nightly
uses: actions-rs/toolchain@v1
uses: actions-rs/toolchain@v1.0.5
with:
toolchain: nightly
override: true
# Uses rust-toolchain to determine version
profile: minimal
target: ${{ matrix.target }}