ci: add skip-existing and auto GitHub release creation

This commit is contained in:
Research Assistant 2026-05-11 18:17:33 +08:00
parent cceef359d9
commit bbb8e069bb

View file

@ -24,3 +24,16 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
skip-existing: true
- name: Create GitHub Release
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create "${{ github.ref_name }}" \
--title "${{ github.ref_name }}" \
--generate-notes \
paperforge/plugin/main.js \
paperforge/plugin/styles.css \
paperforge/plugin/manifest.json \
paperforge/plugin/versions.json