diff --git a/.github/workflows/build-distributables.yml b/.github/workflows/build-distributables.yml index ddd23fbf..b089aead 100644 --- a/.github/workflows/build-distributables.yml +++ b/.github/workflows/build-distributables.yml @@ -43,16 +43,11 @@ jobs: echo EOF } >> "$GITHUB_ENV" - - name: Update release assets and text - uses: actions/github-script@v7 - env: - SEARCH_PATTERN: "artifacts/*" + - name: Upload artifacts + uses: actions/upload-artifact@v4 with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - const script = require('./.github/actions/update_unstable.js'); - const output = await script({github, context, glob}); - console.log(output); + name: artifacts-${{ matrix.config.os }}-${{ matrix.config.py }} + path: artifacts/* - name: Update current release if: startsWith(github.ref, 'refs/tags') diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 8b57a68d..7e9448ba 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -63,17 +63,6 @@ jobs: echo "PY3_WHL=$(ls artifacts/dist/*.whl)" >> $GITHUB_ENV echo "PY3_WHL=$(ls artifacts/dist/*.whl)" - - name: Update unstable release assets and text - uses: actions/github-script@v7 - env: - SEARCH_PATTERN: "artifacts/*" - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - const script = require('./.github/actions/update_unstable.js'); - const output = await script({github, context, glob}); - console.log(output); - - name: Update current release if: startsWith(github.ref, 'refs/tags') uses: johnwbyrd/update-release@v1.0.0