Skip to content

Commit

Permalink
Newer rust, build info
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Sep 6, 2023
1 parent 0b4d09f commit 9b5ac75
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- uses: actions/checkout@v3

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.61.0
uses: dtolnay/rust-toolchain@1.71.0
with:
targets: ${{ matrix.target }}

Expand All @@ -69,9 +69,13 @@ jobs:
shell: bash
run: echo "BUILD_CMD=cross" >> $GITHUB_ENV

- name: Build info
shell: bash
run: $BUILD_CMD --version

- name: Do release build
shell: bash
run: CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGs='-C link-arg=-s' $BUILD_CMD build --release --target ${{ matrix.target }}
run: $BUILD_CMD build --release --target ${{ matrix.target }}

- name: Move binary to root of checkout
shell: bash
Expand Down

0 comments on commit 9b5ac75

Please sign in to comment.