From d8b155cb19a8b0130801f5f62d5d99f7c88b7730 Mon Sep 17 00:00:00 2001 From: Diego Ferigo Date: Wed, 5 Oct 2022 15:00:30 +0200 Subject: [PATCH] Update third-party actions --- .github/workflows/ci_cd.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 443ec3372..a26b0ed23 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -15,11 +15,12 @@ jobs: steps: - - uses: actions/checkout@master - - run: git fetch --prune --unshallow + - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.8 @@ -32,14 +33,14 @@ jobs: - name: Inspect dist folder run: ls -lah dist/ - - name: Check wheel's abi and platform tag + - name: Check wheel's abi and platform tags run: test $(find dist/ -name *-none-any.whl | wc -l) -gt 0 - name: Run twine check run: twine check dist/* - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: path: dist/* name: dist @@ -65,12 +66,12 @@ jobs: steps: - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - name: Download Python packages - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: path: dist name: dist @@ -90,7 +91,7 @@ jobs: steps: - name: Download Python packages - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: path: dist name: dist @@ -103,7 +104,7 @@ jobs: github.repository == 'ami-iit/jaxsim' && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'release')) - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_TOKEN }}