mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 17:00:23 +00:00
ci: add skip-existing and auto GitHub release creation
This commit is contained in:
parent
2fb9c7e66d
commit
cb6961bf67
1 changed files with 13 additions and 0 deletions
13
.github/workflows/publish.yml
vendored
13
.github/workflows/publish.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue