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:
|
||||
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
|
||||
- name: Install target
|
||||
run: rustup target add ${{ matrix.target }}
|
||||
|
||||
- name: Compile the app
|
||||
run: |
|
||||
cargo build --release --target ${{ matrix.target }}
|
||||
|
|
Loading…
Reference in a new issue