From 77c1ee15b3126678a996bfc87c83a97884f3e28f Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Thu, 4 Jan 2024 08:51:12 +0100 Subject: [PATCH] Update syntax --- .github/workflows/release.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e76871a..be46e62 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,7 +84,7 @@ jobs: - name: Upload sdist uses: actions/upload-artifact@v4 with: - name: wheels + name: dist-sdist path: dist/*.tar.gz build-wheels: @@ -163,7 +163,7 @@ jobs: - name: Upload wheel uses: actions/upload-artifact@v4 with: - name: wheels + name: dist-wheel-${{ matrix.os }}-${{ matrix.arch }} path: dist/*.whl - name: Archive binary @@ -177,7 +177,7 @@ jobs: - name: Upload binary uses: actions/upload-artifact@v4 with: - name: binaries + name: binary-${{ matrix.os }}-${{ matrix.arch }} path: ${{ steps.archive.outputs.filename }} publish-to-pypi: @@ -190,11 +190,12 @@ jobs: id-token: write steps: - - name: Download wheels - uses: actions/download-artifact@v3 + - name: Download sdist and wheels + uses: actions/download-artifact@v4 with: - name: wheels + pattern: dist-* path: dist + merge-multiple: true - name: Publish to PyPI if: inputs.dry-run == false @@ -232,10 +233,11 @@ jobs: ref: ${{ inputs.sha }} - name: Download binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: binaries + pattern: binary-* path: binaries + merge-multiple: true - name: Create GitHub release id: github-release