We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0f296b commit dc4958dCopy full SHA for dc4958d
.github/workflows/release-canary.yml
@@ -76,12 +76,14 @@ jobs:
76
set -euo pipefail
77
TAG="${{ steps.release.outputs.tag }}"
78
ASSET="openshell-${{ matrix.target }}.tar.gz"
79
+ URL="https://github.com/${{ github.repository }}/releases/download/${TAG}/${ASSET}"
80
81
echo "Downloading ${ASSET} from release ${TAG}..."
- gh release download "${TAG}" \
82
- --repo "${{ github.repository }}" \
83
- --pattern "${ASSET}" \
84
- --output "/tmp/${ASSET}"
+ curl -fsSL \
+ -H "Authorization: token ${GH_TOKEN}" \
+ -H "Accept: application/octet-stream" \
85
+ -o "/tmp/${ASSET}" \
86
+ "${URL}"
87
88
tar -xzf "/tmp/${ASSET}" -C /tmp
89
install -m 755 /tmp/openshell /usr/local/bin/openshell
0 commit comments