We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcfc9df commit 9fb2ea2Copy full SHA for 9fb2ea2
.github/workflows/upsert-release.yml
@@ -39,7 +39,12 @@ jobs:
39
id: check_release
40
run: |
41
set +e
42
- gh release view "${{ inputs.version }}" > /dev/null 2>&1
+ curl -Lf \
43
+ -H "Accept: application/vnd.github+json" \
44
+ -H "Authorization: Bearer ${GH_TOKEN}" \
45
+ -H "X-GitHub-Api-Version: 2022-11-28" \
46
+ https://api.github.com/repos/lenra-io/app-reveel/releases/tags/v${{ inputs.version }} > /dev/null 2>&1
47
+
48
if [ $? -eq 0 ]; then
49
echo "exists=true" >> $GITHUB_OUTPUT
50
else
0 commit comments