Use github action to download cargo-make (#594)

This commit is contained in:
Sagie Gur-Ari 2020-03-31 06:03:44 +03:00 committed by GitHub
parent 6e4bc127b0
commit c91b989e2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,20 +54,9 @@ jobs:
profile: minimal profile: minimal
override: true override: true
- name: Install cargo-make (Linux) - uses: davidB/rust-cargo-make@v1
if: runner.os == 'Linux' with:
run: | version: '0.20.0'
_build/cargo-make.sh "0.20.0" "x86_64-unknown-linux-musl"
- name: Install cargo-make (macOS)
if: runner.os == 'macOS'
run: |
_build/cargo-make.sh "0.20.0" "x86_64-apple-darwin"
- name: Install cargo-make (Windows)
if: runner.os == 'Windows'
run: |
_build\cargo-make.ps1 -version "0.20.0" -target "x86_64-pc-windows-msvc"
- name: Build and run tests - name: Build and run tests
env: env:
@ -127,9 +116,9 @@ jobs:
profile: minimal profile: minimal
override: true override: true
- name: Install cargo-make - uses: davidB/rust-cargo-make@v1
run: | with:
_build/cargo-make.sh "0.20.0" "x86_64-unknown-linux-musl" version: '0.20.0'
- name: Install cargo-release - name: Install cargo-release
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1