github ci
This commit is contained in:
parent
191c929877
commit
018d1fb7e3
1 changed files with 7 additions and 9 deletions
16
.github/workflows/release.yaml
vendored
16
.github/workflows/release.yaml
vendored
|
@ -103,17 +103,15 @@ jobs:
|
|||
components: rustfmt, clippy
|
||||
|
||||
- name: Use Cross
|
||||
shell: bash
|
||||
run: |
|
||||
cargo install cross --git https://github.com/cross-rs/cross
|
||||
echo "CARGO=cross" >> $GITHUB_ENV
|
||||
echo "TARGET_FLAGS=--target ${{ matrix.target }}" >> $GITHUB_ENV
|
||||
echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
run: |
|
||||
cargo install cross --git https://github.com/cross-rs/cross
|
||||
echo "CARGO=cross" >> $GITHUB_ENV
|
||||
|
||||
- name: Show command used for Cargo
|
||||
run: |
|
||||
echo "cargo command is: ${{ env.CARGO }}"
|
||||
echo "target flag is: ${{ env.BUILD_ARGS }}"
|
||||
run: |
|
||||
echo "cargo command is: ${{ env.CARGO }}"
|
||||
echo "target flag is: ${{ env.BUILD_ARGS }}"
|
||||
|
||||
- name: Build ${{ matrix.platform.name }} binary
|
||||
if: ${{ !contains(matrix.platform.target, 'apple') }}
|
||||
|
|
Loading…
Reference in a new issue