Skip to content

Commit

Permalink
rust.yml fix upload if statements
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmoon79 committed Jul 8, 2023
1 parent 40e428d commit a7e93c6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit a7e93c6

Please sign in to comment.