diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index e6a7454..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 @@ -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