Skip to content

Commit

Permalink
fix: set the env var for GH CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
meysam81 committed Nov 7, 2024
1 parent a6c4c66 commit 2b99b05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ runs:
${{ inputs.registry-username }} != '' &&
${{ inputs.registry-password }} != ''
shell: bash
env:
GH_TOKEN: ${{ inputs.github-token }}
run: |
gh release download ${{ inputs.kubescape-version }} \
-R kubescape/kubescape -p kubescape-ubuntu-latest -O kubescape
Expand Down

0 comments on commit 2b99b05

Please sign in to comment.