Skip to content

Commit 2436e5d

Browse files
committed
Add github token
1 parent a2efec5 commit 2436e5d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ runs:
4141
echo "Created temp directory: ${tmp_dir}"
4242
tmp_zip="${tmp_dir}/devbox.zip"
4343
echo "Downloading devbox from URL: $DEVBOX_USE_VERSION"
44-
echo curl --fail --location --output "${tmp_zip}" "${DEVBOX_USE_VERSION}"
45-
curl --fail --location --output "${tmp_zip}" "${DEVBOX_USE_VERSION}"
44+
curl --fail --location --header "Authorization: Bearer ${{ github.token }}" --output "${tmp_zip}" "${DEVBOX_USE_VERSION}"
4645
echo "Download complete, zip file size: $(ls -lh ${tmp_zip} | awk '{print $5}')"
4746
echo "Extracting zip file to ${tmp_dir}"
4847
unzip -q "${tmp_zip}" -d "${tmp_dir}"

0 commit comments

Comments
 (0)