Skip to content

Commit

Permalink
Matrix fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Sep 5, 2023
1 parent 871e595 commit 0aa4d65
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ jobs:
targets: ${{ matrix.target }}

- name: Install cross
if: matrix.job.use_cross
if: matrix.use_cross
uses: taiki-e/install-action@v2
with:
tool: cross

- name: Overwrite build command env variable
if: matrix.job.use_cross
if: matrix.use_cross
shell: bash
run: echo "BUILD_CMD=cross" >> $GITHUB_ENV

Expand All @@ -74,12 +74,12 @@ jobs:
run: $BUILD_CMD build --release --target ${{ matrix.target }}

- name: Move cross-compiled native binary to root of checkout
if: matrix.job.use_cross != true
if: matrix.use_cross != true
shell: bash
run: mv target/release/difft difft

- name: Move cross-compiled binary to root of checkout
if: matrix.job.use_cross
if: matrix.use_cross
shell: bash
run: mv target/${{ matrix.target }}/release/difft difft

Expand Down

0 comments on commit 0aa4d65

Please sign in to comment.