Skip to content

Commit

Permalink
use option to ignore error
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Feb 1, 2024
1 parent a2dda3d commit d4c17ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/curlcmd/action.yml
Expand Up @@ -20,7 +20,7 @@ runs:
- name: Setup curl options
id: curlcmd
run: |
$null = Remove-Item alias:curl
$null = Remove-Item -ErrorAction Ignore alias:curl
$curl_cov = "curl -s ${{ inputs.owcurlopts }}"
$curl_gh = $curl_cov + ' -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28"'
"cov=$curl_cov" | Out-File -FilePath ${{ github.output }} -Encoding utf8 -Append
Expand Down

0 comments on commit d4c17ea

Please sign in to comment.