From 117cb1ba5aa938e746d3832e512021e9642f7dc7 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 6 Aug 2025 17:21:11 +0500 Subject: [PATCH] Switch to pypa/gh-action-pypi-publish Though there are no particular known issues with https://github.com/ortega2247/pypi-upload-action we've used before, but it wasn't updating for 5 years now, so it's better to switch to official PyPA workflow. Args for workflow seem to be exactly the same, so it's just a drop-in replacement. --- .github/workflows/ci-bcf-pypi.yml | 2 +- .github/workflows/ci-bsdd-pypi.yaml | 2 +- .github/workflows/ci-ifc4d-pypi.yaml | 2 +- .github/workflows/ci-ifc5d-pypi.yaml | 2 +- .github/workflows/ci-ifccityjson-pypi.yaml | 2 +- .github/workflows/ci-ifcclash-pypi.yaml | 2 +- .github/workflows/ci-ifccsv-pypi.yaml | 2 +- .github/workflows/ci-ifcdiff-pypi.yaml | 2 +- .github/workflows/ci-ifcfm-pypi.yaml | 2 +- .github/workflows/ci-ifcopenshell-python-pypi.yml | 2 +- .github/workflows/ci-ifcpatch-pypi.yaml | 2 +- .github/workflows/ci-ifctester-pypi.yml | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-bcf-pypi.yml b/.github/workflows/ci-bcf-pypi.yml index 75034acc2f..011babfe2b 100644 --- a/.github/workflows/ci-bcf-pypi.yml +++ b/.github/workflows/ci-bcf-pypi.yml @@ -34,7 +34,7 @@ jobs: cd src/bcf && make dist IS_STABLE=TRUE - name: Publish a Python distribution to PyPI - uses: ortega2247/pypi-upload-action@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/ci-bsdd-pypi.yaml b/.github/workflows/ci-bsdd-pypi.yaml index a1f68bf236..b59ddbf2e4 100644 --- a/.github/workflows/ci-bsdd-pypi.yaml +++ b/.github/workflows/ci-bsdd-pypi.yaml @@ -28,7 +28,7 @@ jobs: cd src/bsdd && make dist IS_STABLE=TRUE - name: Publish a Python distribution to PyPI - uses: ortega2247/pypi-upload-action@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/ci-ifc4d-pypi.yaml b/.github/workflows/ci-ifc4d-pypi.yaml index d2fa648ddb..6ecd2c37d2 100644 --- a/.github/workflows/ci-ifc4d-pypi.yaml +++ b/.github/workflows/ci-ifc4d-pypi.yaml @@ -28,7 +28,7 @@ jobs: cd src/ifc4d && make dist IS_STABLE=TRUE - name: Publish a Python distribution to PyPI - uses: ortega2247/pypi-upload-action@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/ci-ifc5d-pypi.yaml b/.github/workflows/ci-ifc5d-pypi.yaml index c4669e1af2..6c545f603d 100644 --- a/.github/workflows/ci-ifc5d-pypi.yaml +++ b/.github/workflows/ci-ifc5d-pypi.yaml @@ -28,7 +28,7 @@ jobs: cd src/ifc5d && make dist IS_STABLE=TRUE - name: Publish a Python distribution to PyPI - uses: ortega2247/pypi-upload-action@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/ci-ifccityjson-pypi.yaml b/.github/workflows/ci-ifccityjson-pypi.yaml index f3c921b094..19b7a8e9d7 100644 --- a/.github/workflows/ci-ifccityjson-pypi.yaml +++ b/.github/workflows/ci-ifccityjson-pypi.yaml @@ -28,7 +28,7 @@ jobs: cd src/ifccityjson && make dist IS_STABLE=TRUE - name: Publish a Python distribution to PyPI - uses: ortega2247/pypi-upload-action@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/ci-ifcclash-pypi.yaml b/.github/workflows/ci-ifcclash-pypi.yaml index e53c12ab67..adae45e008 100644 --- a/.github/workflows/ci-ifcclash-pypi.yaml +++ b/.github/workflows/ci-ifcclash-pypi.yaml @@ -28,7 +28,7 @@ jobs: cd src/ifcclash && make dist IS_STABLE=TRUE - name: Publish a Python distribution to PyPI - uses: ortega2247/pypi-upload-action@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/ci-ifccsv-pypi.yaml b/.github/workflows/ci-ifccsv-pypi.yaml index d1a40f94ab..b62f372bf6 100644 --- a/.github/workflows/ci-ifccsv-pypi.yaml +++ b/.github/workflows/ci-ifccsv-pypi.yaml @@ -28,7 +28,7 @@ jobs: cd src/ifccsv && make dist IS_STABLE=TRUE - name: Publish a Python distribution to PyPI - uses: ortega2247/pypi-upload-action@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/ci-ifcdiff-pypi.yaml b/.github/workflows/ci-ifcdiff-pypi.yaml index 6fc88a6059..6059d7a3dd 100644 --- a/.github/workflows/ci-ifcdiff-pypi.yaml +++ b/.github/workflows/ci-ifcdiff-pypi.yaml @@ -28,7 +28,7 @@ jobs: cd src/ifcdiff && make dist IS_STABLE=TRUE - name: Publish a Python distribution to PyPI - uses: ortega2247/pypi-upload-action@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/ci-ifcfm-pypi.yaml b/.github/workflows/ci-ifcfm-pypi.yaml index 576d150dc4..50e8707796 100644 --- a/.github/workflows/ci-ifcfm-pypi.yaml +++ b/.github/workflows/ci-ifcfm-pypi.yaml @@ -28,7 +28,7 @@ jobs: cd src/ifcfm && make dist IS_STABLE=TRUE - name: Publish a Python distribution to PyPI - uses: ortega2247/pypi-upload-action@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/ci-ifcopenshell-python-pypi.yml b/.github/workflows/ci-ifcopenshell-python-pypi.yml index 9e176dc2db..0389f1c84f 100644 --- a/.github/workflows/ci-ifcopenshell-python-pypi.yml +++ b/.github/workflows/ci-ifcopenshell-python-pypi.yml @@ -61,7 +61,7 @@ jobs: cd src/ifcopenshell_${{ matrix.config.short_name }}_${{ matrix.pyver }} && make dist PLATFORM=${{ matrix.config.short_name }} PYVERSION=${{ matrix.pyver }} IS_STABLE=TRUE - name: Publish a Python distribution to PyPI - uses: ortega2247/pypi-upload-action@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/ci-ifcpatch-pypi.yaml b/.github/workflows/ci-ifcpatch-pypi.yaml index cdeb78c27d..312fe49f74 100644 --- a/.github/workflows/ci-ifcpatch-pypi.yaml +++ b/.github/workflows/ci-ifcpatch-pypi.yaml @@ -28,7 +28,7 @@ jobs: cd src/ifcpatch && make dist IS_STABLE=TRUE - name: Publish a Python distribution to PyPI - uses: ortega2247/pypi-upload-action@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/ci-ifctester-pypi.yml b/.github/workflows/ci-ifctester-pypi.yml index 51835418e7..6b594509ef 100644 --- a/.github/workflows/ci-ifctester-pypi.yml +++ b/.github/workflows/ci-ifctester-pypi.yml @@ -28,7 +28,7 @@ jobs: cd src/ifctester && make dist IS_STABLE=TRUE - name: Publish a Python distribution to PyPI - uses: ortega2247/pypi-upload-action@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }}