From 8031c88e175b82a9d4e5d4edc5416d70d87daa03 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 7 Oct 2021 23:11:32 -0400 Subject: [PATCH] Follow 302 redirect from github to cdn --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 0c3321f..15e8cca 100644 --- a/action.yml +++ b/action.yml @@ -16,10 +16,10 @@ runs: shell: bash id: cargo - name: Download ${{inputs.bin || inputs.crate}} - run: curl --output ${{steps.cargo.outputs.dir}}/${{inputs.bin || inputs.crate}} https://github.com/dtolnay/install/releases/download/${{inputs.crate}}/${{inputs.bin || inputs.crate}} --silent --show-error + run: curl --output ${{steps.cargo.outputs.dir}}/${{inputs.bin || inputs.crate}} https://github.com/dtolnay/install/releases/download/${{inputs.crate}}/${{inputs.bin || inputs.crate}} --location --silent --show-error shell: bash - name: Download ${{inputs.bin || inputs.crate}}.sig - run: curl --output ${{runner.temp}}/${{inputs.bin || inputs.crate}}.sig https://github.com/dtolnay/install/releases/download/${{inputs.crate}}/${{inputs.bin || inputs.crate}}.sig --silent --show-error + run: curl --output ${{runner.temp}}/${{inputs.bin || inputs.crate}}.sig https://github.com/dtolnay/install/releases/download/${{inputs.crate}}/${{inputs.bin || inputs.crate}}.sig --location --silent --show-error shell: bash - name: Retrieve public key of signing key run: gpg --output ${{runner.temp}}/signing-key.gpg --dearmor ${{github.action_path}}/signing-key.asc