Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-FFFFFF committed Aug 29, 2023
1 parent 482f067 commit 9f51cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/version-check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
shell: bash
run: |
VER=$(curl --silent -L -H "Authorization: Bearer ${{ inputs.github_token }}" -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r .name | sed s/^v//)
if [ "$VER" -eq "null" ]; then
if [ "$VER" == "null" ]; then
echo "No releases found"
echo LATEST_RELEASE="0.0.0" >> "$GITHUB_ENV"
exit 0
Expand Down

0 comments on commit 9f51cde

Please sign in to comment.