We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60f6b38 commit b024c4eCopy full SHA for b024c4e
1 file changed
.github/workflows/build.yml
@@ -84,10 +84,10 @@ jobs:
84
- name: create or update release
85
if: startsWith(github.ref, 'refs/tags/')
86
run: |
87
- if gh release view "${GITHUB_REF_NAME}" >/dev/null 2>&1; then
88
- gh release upload "${GITHUB_REF_NAME}" "${GITHUB_WORKSPACE}/analyzer.zip" --clobber
+ if gh release view "${GITHUB_REF_NAME}" --repo "${GITHUB_REPOSITORY}" >/dev/null 2>&1; then
+ gh release upload "${GITHUB_REF_NAME}" "${GITHUB_WORKSPACE}/analyzer.zip" --repo "${GITHUB_REPOSITORY}" --clobber
89
else
90
- gh release create "${GITHUB_REF_NAME}" "${GITHUB_WORKSPACE}/analyzer.zip" --generate-notes
+ gh release create "${GITHUB_REF_NAME}" "${GITHUB_WORKSPACE}/analyzer.zip" --repo "${GITHUB_REPOSITORY}" --generate-notes
91
fi
92
env:
93
GH_TOKEN: ${{ github.token }}
0 commit comments