Skip to content

Commit

Permalink
Merge pull request #140 from snyk/fix/fallback-to-env-variable-when-s…
Browse files Browse the repository at this point in the history
…etup-not-successful

fix: add fallback set up command using the env variable
  • Loading branch information
PeterSchafer committed Jun 21, 2024
2 parents d406fd2 + c5382f5 commit 4bed788
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ outputs:
runs:
using: "composite"
steps:
- run: ${{ github.action_path }}/setup_snyk.sh ${{ inputs.snyk-version }} ${{ runner.os }}
- run: |
${{ github.action_path }}/setup_snyk.sh ${{ inputs.snyk-version }} ${{ runner.os }} || ${{ GITHUB_ACTIONS_PATH }}/setup_snyk.sh ${{ inputs.snyk-version }} ${{ runner.os }}
shell: bash
- id: version
shell: bash
Expand Down

0 comments on commit 4bed788

Please sign in to comment.