mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 13:08:42 +00:00
Add step to relase-build to make sure it's runnable (#792)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
e84228ba01
commit
f46de3714a
1 changed files with 8 additions and 4 deletions
12
.github/workflows/release-build.yml
vendored
12
.github/workflows/release-build.yml
vendored
|
@ -19,15 +19,15 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- { o: macos-latest, t: x86_64-apple-darwin }
|
- { o: macos-latest, t: x86_64-apple-darwin, r: true }
|
||||||
- { o: macos-latest, t: aarch64-apple-darwin }
|
- { o: macos-latest, t: aarch64-apple-darwin }
|
||||||
- { o: ubuntu-20.04, t: x86_64-unknown-linux-gnu }
|
- { o: ubuntu-20.04, t: x86_64-unknown-linux-gnu, r: true }
|
||||||
- { o: ubuntu-20.04, t: armv7-unknown-linux-gnueabihf, c: true }
|
- { o: ubuntu-20.04, t: armv7-unknown-linux-gnueabihf, c: true }
|
||||||
- { o: ubuntu-20.04, t: aarch64-unknown-linux-gnu }
|
- { o: ubuntu-20.04, t: aarch64-unknown-linux-gnu }
|
||||||
- { o: ubuntu-latest, t: x86_64-unknown-linux-musl }
|
- { o: ubuntu-latest, t: x86_64-unknown-linux-musl, r: true }
|
||||||
- { o: ubuntu-latest, t: armv7-unknown-linux-musleabihf, c: true }
|
- { o: ubuntu-latest, t: armv7-unknown-linux-musleabihf, c: true }
|
||||||
- { o: ubuntu-latest, t: aarch64-unknown-linux-musl, c: true }
|
- { o: ubuntu-latest, t: aarch64-unknown-linux-musl, c: true }
|
||||||
- { o: windows-latest, t: x86_64-pc-windows-msvc }
|
- { o: windows-latest, t: x86_64-pc-windows-msvc, r: true }
|
||||||
- { o: windows-latest, t: aarch64-pc-windows-msvc }
|
- { o: windows-latest, t: aarch64-pc-windows-msvc }
|
||||||
|
|
||||||
name: ${{ matrix.t }}
|
name: ${{ matrix.t }}
|
||||||
|
@ -52,6 +52,10 @@ jobs:
|
||||||
- if: runner.os != 'Windows'
|
- if: runner.os != 'Windows'
|
||||||
run: ls -shal packages/
|
run: ls -shal packages/
|
||||||
|
|
||||||
|
- name: Ensure release binary is runnable
|
||||||
|
if: "matrix.r"
|
||||||
|
run: ./target/${{ matrix.t }}/release/cargo-binstall -V
|
||||||
|
|
||||||
- if: inputs.publish
|
- if: inputs.publish
|
||||||
name: Upload to release
|
name: Upload to release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
|
|
Loading…
Add table
Reference in a new issue