mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Cleanup yaml
This commit is contained in:
parent
bee95cdb27
commit
151998a1eb
1 changed files with 2 additions and 10 deletions
12
.github/workflows/rust.yml
vendored
12
.github/workflows/rust.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue