diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f31346a8..246485ff 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -96,16 +96,14 @@ jobs: - name: Copy and rename utility run: cp target/${{ matrix.target }}/release/${{ matrix.output }} ${{ matrix.output }} - - name: Test installing bins + - name: Test if: ${{ matrix.test == 'true' }} - run: for bin in $bins; do ./${{ matrix.output }} cargo-binstall --no-confirm $bin; done + run: | + for bin in $bins; do ./${{ matrix.output }} cargo-binstall --no-confirm $bin; done + ./${{ matrix.output }} cargo-binstall --manifest-path . --no-confirm env: bins: cargo-bindgen cbindgen cargo-deb cargo-llvm-cov cargo-binstall - - name: Test binstall with manifest - if: ${{ matrix.test == 'true' }} - run: ./${{ matrix.output }} cargo-binstall --manifest-path . --no-confirm - - name: Create archive (tgz, linux) if: ${{ matrix.os != 'macos-latest' && matrix.os != 'windows-latest' }} run: tar -czvf cargo-binstall-${{ matrix.target }}.tgz ${{ matrix.output }}