From a9e7589aaf854952992d6a6f1a1ab30f85acf76a Mon Sep 17 00:00:00 2001 From: messense Date: Mon, 27 Jun 2022 14:02:38 +0800 Subject: [PATCH] Upload wasm wheels to github release --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 913023977..0dda0ef3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -353,3 +353,16 @@ jobs: env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.pypi_token }} + + - name: get wasm dist artifacts + uses: actions/download-artifact@v3 + with: + name: wasm_wheels + path: wasm + + - name: upload to github release + uses: softprops/action-gh-release@v1 + with: + files: | + wasm/*.whl + prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}