Use github action to download cargo-make (#594)
This commit is contained in:
parent
6e4bc127b0
commit
c91b989e2d
1 changed files with 6 additions and 17 deletions
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue