Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5839537f56 |
@@ -1,4 +1,4 @@
|
|||||||
name: CI
|
name: Publish to PyPI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -18,6 +18,11 @@ jobs:
|
|||||||
publish-pypi:
|
publish-pypi:
|
||||||
name: Publish to PyPI
|
name: Publish to PyPI
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment:
|
||||||
|
name: pypi
|
||||||
|
url: https://pypi.org/p/pdfuck
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -26,6 +31,3 @@ jobs:
|
|||||||
- run: uv build
|
- run: uv build
|
||||||
- name: Publish a Python distribution to PyPI
|
- name: Publish a Python distribution to PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
|
||||||
user: __token__
|
|
||||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
||||||
Reference in New Issue
Block a user