diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 5568e64d..fe2553c9 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -68,16 +68,16 @@ jobs: sha256sum * | tee SHA256SUMS - name: Upload Python artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: dist + name: dist-${{ github.run_number }} path: dist if-no-files-found: error - name: Upload Javascript artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: jsdist + name: jsdist-${{ github.run_number }} path: jsdist if-no-files-found: error @@ -93,9 +93,9 @@ jobs: python-version: "3.11" - name: Download artifacts from build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: dist + name: dist-${{ github.run_number }} path: dist # The PyPI publishing action will try to publish this checksum file as if @@ -125,9 +125,9 @@ jobs: registry-url: https://registry.npmjs.org - name: Download artifacts from build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: jsdist + name: jsdist-${{ github.run_number }} path: jsdist - run: | diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 74195ca5..acf94618 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -53,7 +53,7 @@ jobs: run: pyproject-build - name: Upload built artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dist-${{ github.run_number }} path: ./dist @@ -94,7 +94,7 @@ jobs: run: pip install --upgrade pip - name: Download built artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist-${{ github.run_number }} path: ./dist @@ -152,7 +152,7 @@ jobs: - name: Upload test reports if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: |- tests-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.pip-extras }}-${{ github.run_number }}