We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad79237 commit 24ef0dbCopy full SHA for 24ef0db
1 file changed
.github/workflows/publish.yml
@@ -29,13 +29,16 @@ jobs:
29
steps:
30
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
31
- name: Create release if missing
32
+ env:
33
+ GH_TOKEN: ${{ github.token }}
34
run: |
35
tag="${GITHUB_REF#refs/tags/}"
36
if ! gh release view "$tag" >/dev/null 2>&1; then
37
gh release create "$tag" --title "$tag"
38
fi
39
- name: Upload schema assets
- if: startsWith(github.ref, 'refs/tags/')
40
41
42
43
44
gh release upload "$tag" schema.json meta.json --clobber
0 commit comments