From 018d1fb7e3823655e441c5ab57120fc10808f2bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Tue, 26 Dec 2023 18:55:12 +0100 Subject: [PATCH] github ci --- .github/workflows/release.yaml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 189e85c..27ed6a3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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') }}