mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 15:46:36 +00:00
Fix release profile override on Windows
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
a4cff680b0
commit
4fb93aa9d2
1 changed files with 132 additions and 119 deletions
19
.github/workflows/release-packages.yml
vendored
19
.github/workflows/release-packages.yml
vendored
|
@ -28,10 +28,21 @@ jobs:
|
|||
matrix:
|
||||
include:
|
||||
- { o: macos-14, t: x86_64-apple-darwin, r: true }
|
||||
- { o: macos-14, t: x86_64h-apple-darwin, }
|
||||
- { o: macos-14, t: x86_64h-apple-darwin }
|
||||
- { o: macos-14, t: aarch64-apple-darwin }
|
||||
- { o: ubuntu-latest, t: x86_64-unknown-linux-gnu, g: 2.17, r: true, c: true }
|
||||
- { o: ubuntu-latest, t: armv7-unknown-linux-gnueabihf, g: 2.17, c: true }
|
||||
- {
|
||||
o: ubuntu-latest,
|
||||
t: x86_64-unknown-linux-gnu,
|
||||
g: 2.17,
|
||||
r: true,
|
||||
c: true,
|
||||
}
|
||||
- {
|
||||
o: ubuntu-latest,
|
||||
t: armv7-unknown-linux-gnueabihf,
|
||||
g: 2.17,
|
||||
c: true,
|
||||
}
|
||||
- { o: ubuntu-latest, t: aarch64-unknown-linux-gnu, g: 2.17, c: true }
|
||||
- { o: ubuntu-latest, t: x86_64-unknown-linux-musl, r: true, c: true }
|
||||
- { o: ubuntu-latest, t: armv7-unknown-linux-musleabihf, c: true }
|
||||
|
@ -57,10 +68,12 @@ jobs:
|
|||
- name: Override release profile lto settings
|
||||
if: inputs.CARGO_PROFILE_RELEASE_LTO
|
||||
run: echo "CARGO_PROFILE_RELEASE_LTO=${{ inputs.CARGO_PROFILE_RELEASE_LTO }}" >> "$GITHUB_ENV"
|
||||
shell: bash
|
||||
|
||||
- name: Override release profile codegen-units settings
|
||||
if: inputs.CARGO_PROFILE_RELEASE_CODEGEN_UNITS
|
||||
run: echo "CARGO_PROFILE_RELEASE_CODEGEN_UNITS=${{ inputs.CARGO_PROFILE_RELEASE_CODEGEN_UNITS }}" >> "$GITHUB_ENV"
|
||||
shell: bash
|
||||
|
||||
- uses: ./.github/actions/just-setup
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue