Cleanup yaml

This commit is contained in:
Félix Saparelli 2022-05-31 17:25:34 +12:00
parent bee95cdb27
commit 151998a1eb
No known key found for this signature in database
GPG key ID: B948C4BAE44FC474

View file

@ -103,7 +103,7 @@ jobs:
- name: Create archive (tgz, linux) - name: Create archive (tgz, linux)
if: ${{ matrix.os != 'macos-latest' && matrix.os != 'windows-latest' }} if: ${{ matrix.os != 'macos-latest' && matrix.os != 'windows-latest' }}
run: tar -czvf cargo-binstall-${{ matrix.target }}.tgz ${{ matrix.output }} run: tar -czvf cargo-binstall-${{ matrix.target }}.tgz ${{ matrix.output }}
- name: Create archive (zip, windows) - name: Create archive (zip, windows)
if: ${{ matrix.os == 'windows-latest' }} if: ${{ matrix.os == 'windows-latest' }}
run: tar.exe -a -c -f cargo-binstall-${{ matrix.target }}.zip ${{ matrix.output }} run: tar.exe -a -c -f cargo-binstall-${{ matrix.target }}.zip ${{ matrix.output }}
@ -157,14 +157,6 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: FranzDiebold/github-env-vars-action@v1.2.1 - uses: FranzDiebold/github-env-vars-action@v1.2.1
- name: Configure toolchain
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
override: true
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
with: with:
name: cargo-binstall-${{ matrix.target }}.${{ matrix.archive }} name: cargo-binstall-${{ matrix.target }}.${{ matrix.archive }}
@ -176,7 +168,7 @@ jobs:
- name: "Extract build artifact (zip, windows)" - name: "Extract build artifact (zip, windows)"
if: ${{ matrix.os == 'windows-latest' }} if: ${{ matrix.os == 'windows-latest' }}
run: tar.exe -xvf cargo-binstall-${{ matrix.target }}.zip run: tar.exe -xvf cargo-binstall-${{ matrix.target }}.zip
- name: "Extract build artifact (zip, macos)" - name: "Extract build artifact (zip, macos)"
if: ${{ matrix.os == 'macos-latest' }} if: ${{ matrix.os == 'macos-latest' }}
run: unzip cargo-binstall-${{ matrix.target }}.zip run: unzip cargo-binstall-${{ matrix.target }}.zip