Set GITHUB_TOKEN for cargo-binstall by default (#556)

Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Taiki Endo
2024-12-04 23:02:01 +09:00
committed by GitHub
parent c4bf614c2f
commit 0139dfdb65
2 changed files with 5 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ runs:
INPUT_TOOL: ${{ inputs.tool }}
INPUT_CHECKSUM: ${{ inputs.checksum }}
INPUT_FALLBACK: ${{ inputs.fallback }}
DEFAULT_GITHUB_TOKEN: ${{ github.token }}
if: runner.os != 'Windows'
- run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
shell: bash
@@ -53,4 +54,5 @@ runs:
INPUT_TOOL: ${{ inputs.tool }}
INPUT_CHECKSUM: ${{ inputs.checksum }}
INPUT_FALLBACK: ${{ inputs.fallback }}
DEFAULT_GITHUB_TOKEN: ${{ github.token }}
if: runner.os == 'Windows'