From 077d50480718c96006b35f89d969a58c822bae5d Mon Sep 17 00:00:00 2001 From: r-vdp Date: Tue, 9 Jul 2024 11:20:08 +0200 Subject: [PATCH] Fix download URLs --- .github/workflows/build-hds.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-hds.yaml b/.github/workflows/build-hds.yaml index 4556498..4422aac 100644 --- a/.github/workflows/build-hds.yaml +++ b/.github/workflows/build-hds.yaml @@ -189,19 +189,19 @@ jobs: - name: prefetch x86_64-linux binary id: prefetch-x86_64-linux run: | - tar -xzf <(curl --location https://github.com/${{ github.repository }}/releases/download/${{ needs.upload-binary.outputs.release_name }}/holo-dev-server-x86_64-linux.tar.gz) + tar -xzf <(curl --location "$(sed -e 's:tag:download:' <<< ${{ needs.upload-binary.outputs.release_name }})/holo-dev-server-x86_64-linux.tar.gz") echo "hash=$(nix hash path --base32 holo-dev-server/)" >> ${GITHUB_OUTPUT} - name: prefetch aarch64-linux binary id: prefetch-aarch64-linux run: | - tar -xzf <(curl --location https://github.com/${{ github.repository }}/releases/download/${{ needs.upload-binary.outputs.release_name }}/holo-dev-server-aarch64-linux.tar.gz) + tar -xzf <(curl --location "$(sed -e 's:tag:download:' <<< ${{ needs.upload-binary.outputs.release_name }})/holo-dev-server-aarch64-linux.tar.gz") echo "hash=$(nix hash path --base32 holo-dev-server/)" >> ${GITHUB_OUTPUT} - name: prefetch aarch64-darwin binary id: prefetch-aarch64-darwin run: | - tar -xzf <(curl --location https://github.com/${{ github.repository }}/releases/download/${{ needs.upload-binary.outputs.release_name }}/holo-dev-server-aarch64-darwin.tar.gz) + tar -xzf <(curl --location "$(sed -e 's:tag:download:' <<< ${{ needs.upload-binary.outputs.release_name }})/holo-dev-server-aarch64-darwin.tar.gz") echo "hash=$(nix hash path --base32 holo-dev-server/)" >> ${GITHUB_OUTPUT} - name: overwrite sources.nix