Update build.yml

This commit is contained in:
2025-05-19 12:10:11 +09:00
committed by GitHub
parent c30cb6f9cc
commit 6f9ad7b350

View File

@@ -22,7 +22,8 @@ jobs:
LATEST_TAG="${{ steps.get_tag.outputs.LATEST_TAG }}"
MY_RELEASE=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r '.tag_name')
if [[ -z "$MY_RELEASE" || "$MY_RELEASE" == "null" || "$LATEST_TAG" == "$MY_RELEASE" ]]; then
exit 78
echo "Me: $MY_RELEASE, Target: $LATEST_TAG"
exit 1
fi
- uses: actions/checkout@v4