workflow second try (with target)
This commit is contained in:
parent
7be73ba7f9
commit
cdf0ab5074
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -21,14 +21,17 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
|
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
|
|
||||||
|
- name: Install target
|
||||||
|
run: rustup target add ${{ matrix.target }}
|
||||||
|
|
||||||
- name: Compile the app
|
- name: Compile the app
|
||||||
run: |
|
run: |
|
||||||
cargo build --release --target ${{ matrix.target }}
|
cargo build --release --target ${{ matrix.target }}
|
||||||
|
|
Loading…
Reference in a new issue