From 284ee4e1ed09d1c801ac388bded151e83154c5b4 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Fri, 15 May 2020 11:09:07 -0400 Subject: [PATCH] revert(ci): download all artifacts at once This reverts commit 4d55936f3514d2e7698ca50dd089b7e7eba4e48f. --- .github/workflows/workflow.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 238d9d5e..dfc17edb 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -269,8 +269,27 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Download build artifacts - uses: actions/download-artifact@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: Generate checksums run: for file in starship-*; do openssl dgst -sha256 -r "$file" | awk '{print $1}' > "${file}.sha256"; done