1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-05-29 06:30:52 +00:00

ci: download all artifacts at once

This commit is contained in:
Matan Kushner 2020-04-29 11:28:08 -04:00 committed by GitHub
parent 556191f510
commit 4d55936f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,27 +269,8 @@ jobs:
steps:
- uses: actions/checkout@v2
# These can be squashed when https://github.com/actions/download-artifact/issues/6 is closed
- name: Download releases from github_build
uses: actions/download-artifact@v1
with:
name: starship-x86_64-unknown-linux-gnu.tar.gz
path: .
- name: Download releases from github_build
uses: actions/download-artifact@v1
with:
name: starship-x86_64-unknown-linux-musl.tar.gz
path: .
- name: Download releases from github_build
uses: actions/download-artifact@v1
with:
name: starship-x86_64-apple-darwin.tar.gz
path: .
- name: Download releases from github_build
uses: actions/download-artifact@v1
with:
name: starship-x86_64-pc-windows-msvc.zip
path: .
- name: Download build artifacts
uses: actions/download-artifact@v2
- name: Generate checksums
run: for file in starship-*; do openssl dgst -sha256 -r "$file" | awk '{print $1}' > "${file}.sha256"; done