File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 14
14
env :
15
15
github_token : ${{ inputs.github-token }}
16
16
run : |
17
- set -e
17
+ set -ex
18
18
VERSION="${{ inputs.version }}"
19
19
if [ -n "${{ inputs.version-file }}" ]; then
20
20
VERSION="v$(cat ${{ inputs.version-file }})"
24
24
api_request_args=("${api_request_args[@]}" -H "authorization: token $github_token")
25
25
fi
26
26
if [ "${VERSION}" = "latest" ]; then
27
- DOWNLOAD_URL=$(curl "${api_request_args[@]}" https://api.github.com/repos/kyoshidajp/dep-doctor/releases | jq -r '[.[]|select(.tag_name > "v0.2")][0].assets[].browser_download_url|select(match("Linux_arm64 ."))')
27
+ DOWNLOAD_URL=$(curl "${api_request_args[@]}" https://api.github.com/repos/kyoshidajp/dep-doctor/releases | jq -r '[.[]|select(.tag_name > "v0.2")][0].assets[].browser_download_url|select(match("Linux_x86_64 ."))')
28
28
else
29
- DOWNLOAD_URL=https://github.com/kyoshidajp/dep-doctor/releases/download/${VERSION}/dep-doctor_Linux_arm64 .tar.gz
29
+ DOWNLOAD_URL=https://github.com/kyoshidajp/dep-doctor/releases/download/${VERSION}/dep-doctor_Linux_x86_64 .tar.gz
30
30
fi
31
31
mkdir -p ${RUNNER_TOOL_CACHE}/dep-doctor
32
32
cd /tmp
You can’t perform that action at this time.
0 commit comments