-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update deprecated actions (#238)
- Loading branch information
1 parent
2a951a6
commit 2ec727c
Showing
4 changed files
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ jobs: | |
- os: ubuntu-20.04 | ||
name: linux-musl | ||
target: x86_64-unknown-linux-musl | ||
cross: true | ||
target_file: target/x86_64-unknown-linux-musl/release/quill | ||
asset_name: quill-linux-x86_64-musl | ||
features: [] | ||
|
@@ -42,7 +41,6 @@ jobs: | |
- os: ubuntu-20.04 | ||
name: linux-arm32 | ||
target: arm-unknown-linux-gnueabihf | ||
cross: true | ||
target_file: target/arm-unknown-linux-gnueabihf/release/quill | ||
asset_name: quill-linux-arm32 | ||
features: [hsm] | ||
|
@@ -54,9 +52,9 @@ jobs: | |
env: | ||
VCPKG_ROOT: 'C:\vcpkg' | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.cargo/git | ||
|
@@ -72,15 +70,16 @@ jobs: | |
if: ${{ matrix.target }} | ||
run: rustup target add ${{ matrix.target }} | ||
|
||
- name: Build | ||
uses: actions-rs/cargo@v1 | ||
- uses: taiki-e/install-action@v2 | ||
with: | ||
use-cross: ${{ matrix.cross }} | ||
command: build | ||
args: | | ||
${{ matrix.target && format('--target {0}', matrix.target) }} | ||
${{ matrix.features && format('--no-default-features --features "{0}"', join(matrix.features)) }} | ||
--release --locked | ||
tool: [email protected] | ||
|
||
- name: Build | ||
run: > | ||
cross build | ||
${{ matrix.target && format('--target {0}', matrix.target) }} | ||
${{ matrix.features && format('--no-default-features --features "{0}"', join(matrix.features)) }} | ||
--release --locked | ||
- name: Upload binaries to release | ||
if: ${{ github.ref_type == 'tag' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters