Skip to content

Commit 6f57424

Browse files
committed
Create release
1 parent d633e5f commit 6f57424

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/build.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
- name: Cache libbinaryen
5050
id: cache-libbinaryen-save
5151
uses: actions/cache/save@v4
52+
if: steps.cache-libbinaryen-restore.outputs.cache-hit != 'true'
5253
with:
5354
path: ./binaryen/libbinaryen
5455
key: ${{steps.cache-libbinaryen-restore.outputs.cache-primary-key}}
@@ -74,3 +75,19 @@ jobs:
7475
with:
7576
name: binaryen-py-sdist
7677
path: dist/*.tar.gz
78+
79+
create_release:
80+
needs: [build_wheels, build_sdist]
81+
runs-on: ubuntu-latest
82+
steps:
83+
- uses: actions/download-artifact@v4
84+
with:
85+
pattern: binaryen-py-*
86+
path: dist
87+
merge-multiple: true
88+
- name: Create Release
89+
uses: softprops/action-gh-release@v1
90+
# if: startsWith(github.ref, 'refs/tags/')
91+
with:
92+
draft: true
93+
files: dist/*

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ archs = ["AMD64"]
5555
archs = ["x86_64"]
5656
before-all = ["yum install wget -y", "bash ./scripts/build_libbinaryen.sh"]
5757

58-
5958
[[tool.cibuildwheel.overrides]]
6059
select = "*-musllinux*"
6160
before-all = ["apk add wget", "bash ./scripts/build_libbinaryen.sh"]

0 commit comments

Comments
 (0)