From a7e93c6068199f6b826e7aa1d21e2397d4c8e390 Mon Sep 17 00:00:00 2001 From: jtmoon79 <815261+jtmoon79@users.noreply.github.com> Date: Sat, 8 Jul 2023 15:46:35 -0700 Subject: [PATCH] rust.yml fix upload if statements --- .github/workflows/rust.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 96771d5a..d9f85232 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -69,20 +69,20 @@ jobs: cargo build --verbose cargo build --release ./target/release/s4 --help - - name: Upload release binary ${{ matrix.os }} - if: ${{ matrix.os == 'windows-latest' }} && ${{ matrix.msrv == env.MSRV_UPLOAD }} + - name: Upload release binary ${{ env.MSRV_UPLOAD }} for ${{ matrix.os }} + if: ${{ matrix.os == 'windows-latest' && matrix.msrv == env.MSRV_UPLOAD }} uses: actions/upload-artifact@v3 with: name: s4.exe ${{ matrix.os }} path: ./target/release/s4.exe - - name: Upload release binary ${{ matrix.os }} - if: ${{ matrix.os == 'ubuntu-latest' }} && ${{ matrix.msrv == env.MSRV_UPLOAD }} + - name: Upload release binary ${{ env.MSRV_UPLOAD }} for ${{ matrix.os }} + if: ${{ matrix.os == 'ubuntu-latest' && matrix.msrv == env.MSRV_UPLOAD }} uses: actions/upload-artifact@v3 with: name: s4 ${{ matrix.os }} path: ./target/release/s4 - - name: Upload release binary ${{ matrix.os }} - if: ${{ matrix.os == 'macos-latest' }} && ${{ matrix.msrv == env.MSRV_UPLOAD }} + - name: Upload release binary ${{ env.MSRV_UPLOAD }} for ${{ matrix.os }} + if: ${{ matrix.os == 'macos-latest' && matrix.msrv == env.MSRV_UPLOAD }} uses: actions/upload-artifact@v3 with: name: s4 ${{ matrix.os }}