aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kugler <syphdias+git@gmail.com>2024-05-15 14:46:40 +0200
committerChristian Kugler <syphdias+git@gmail.com>2024-05-15 14:49:48 +0200
commita3626f66d703bad6de1bf0edb1ae28a35050c22e (patch)
tree6a55b4708810c0d842a673a0a4c407d7798217fb
parentd31aad311cd9280517e429eb397915fb4ff21a40 (diff)
downloadautotiling-a3626f66d703bad6de1bf0edb1ae28a35050c22e.tar.gz
Update actions versions and ingore existing PyPI versions
The actions checkout and setup-python have never versions and there is currently an issue with uploading to PyPI (see #52). This ups the versions for the GitHub Actions and lets the publish to PyPI action skip existing versions since the cannot be changed after publishing. See https://github.com/pypa/gh-action-pypi-publish#tolerating-release-package-file-duplicates
-rw-r--r--.github/workflows/python-publish.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml
index 4b17374..4237430 100644
--- a/.github/workflows/python-publish.yml
+++ b/.github/workflows/python-publish.yml
@@ -16,9 +16,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Set up Python
- uses: actions/setup-python@v3
+ uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
@@ -28,7 +28,8 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
- uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
+ uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
+ skip-existing: true