From 6f57424ba3714f6708fb6a730c2e48ced1c5dccf Mon Sep 17 00:00:00 2001 From: Jonathan Hargreaves <32854503+jonathanharg@users.noreply.github.com> Date: Fri, 8 Mar 2024 13:31:47 +0000 Subject: [PATCH] Create release --- .github/workflows/build.yaml | 17 +++++++++++++++++ pyproject.toml | 1 - 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7a61bae..b69b28b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,6 +49,7 @@ jobs: - name: Cache libbinaryen id: cache-libbinaryen-save uses: actions/cache/save@v4 + if: steps.cache-libbinaryen-restore.outputs.cache-hit != 'true' with: path: ./binaryen/libbinaryen key: ${{steps.cache-libbinaryen-restore.outputs.cache-primary-key}} @@ -74,3 +75,19 @@ jobs: with: name: binaryen-py-sdist path: dist/*.tar.gz + + create_release: + needs: [build_wheels, build_sdist] + runs-on: ubuntu-latest + steps: + - uses: actions/download-artifact@v4 + with: + pattern: binaryen-py-* + path: dist + merge-multiple: true + - name: Create Release + uses: softprops/action-gh-release@v1 + # if: startsWith(github.ref, 'refs/tags/') + with: + draft: true + files: dist/* \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 85a4268..c5dbc89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,6 @@ archs = ["AMD64"] archs = ["x86_64"] before-all = ["yum install wget -y", "bash ./scripts/build_libbinaryen.sh"] - [[tool.cibuildwheel.overrides]] select = "*-musllinux*" before-all = ["apk add wget", "bash ./scripts/build_libbinaryen.sh"]