From d76000167c12c880a20f69193856e753b2cd6a02 Mon Sep 17 00:00:00 2001 From: Filippo Luca Ferretti <102977828+flferretti@users.noreply.github.com> Date: Fri, 27 Mar 2026 17:22:04 +0100 Subject: [PATCH 1/2] Fix repository condition for PyPI publish step --- .github/workflows/ci_cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index e6a7454..4730a3a 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -162,7 +162,7 @@ jobs: - name: Publish to PyPI if: | - github.repository == 'ami-iit/rod' && + github.repository == 'gbionics/rod' && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'release' && github.event.action == 'published')) uses: pypa/gh-action-pypi-publish@release/v1 From 16358130fc2de1117cfde6b2909b59b65f22cd50 Mon Sep 17 00:00:00 2001 From: Filippo Luca Ferretti <102977828+flferretti@users.noreply.github.com> Date: Fri, 27 Mar 2026 17:24:39 +0100 Subject: [PATCH 2/2] Upgrade GHA for Python setup and artifact handling --- .github/workflows/ci_cd.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 4730a3a..d08a5c8 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -25,7 +25,7 @@ jobs: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.*" @@ -50,7 +50,7 @@ jobs: python -c "import packaging.version as v; v.Version(\"$(python -m setuptools_scm)\")" - name: Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: path: dist/* name: dist @@ -88,7 +88,7 @@ jobs: - name: Set up Python if: matrix.type == 'apt' - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python }} @@ -116,7 +116,7 @@ jobs: sudo apt-get install --no-install-recommends libsdformat13 gz-tools2 - name: Download Python packages - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: path: dist name: dist @@ -152,7 +152,7 @@ jobs: steps: - name: Download Python packages - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: path: dist name: dist