Skip to content

Commit 026f7d2

Browse files
committed
allow manual dispatch, rename, disable actual release
1 parent 685882d commit 026f7d2

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

.github/workflows/create_release.yml

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
push:
77
tags:
88
- "*"
9+
workflow_dispatch:
910

1011
permissions:
1112
contents: write
@@ -101,10 +102,8 @@ jobs:
101102
${{ steps.archive-arm64.outputs.TARBALL }}
102103
${{ steps.archive-arm64.outputs.SHASUM }}
103104
104-
# Build with gcc 6.3 and run tests on Alpine Linux (inside chroot).
105-
# Note: Alpine uses musl libc.
106-
build-alpine:
107-
name: alpine
105+
build-linux:
106+
name: Linux
108107
runs-on: ${{ matrix.os }}
109108
strategy:
110109
matrix:
@@ -139,24 +138,24 @@ jobs:
139138
id: archive
140139
run: |
141140
VERSION=$GITHUB_REF_NAME
142-
ARCH=$(./alpine.sh uname -m)
141+
ARCH=$(uname -m)
143142
PKGNAME="binaryen-$VERSION-$ARCH-linux"
144143
TARBALL=$PKGNAME.tar.gz
145144
SHASUM=$PKGNAME.tar.gz.sha256
146-
./alpine.sh find install/ -type f -perm -u=x -exec strip {} +
145+
find install/ -type f -perm -u=x -exec strip {} +
147146
mv install binaryen-$VERSION
148147
tar -czf $TARBALL binaryen-$VERSION
149148
cmake -E sha256sum $TARBALL > $SHASUM
150149
echo "TARBALL=$TARBALL" >> $GITHUB_OUTPUT
151150
echo "SHASUM=$SHASUM" >> $GITHUB_OUTPUT
152151
153-
- name: upload tarball
154-
uses: softprops/action-gh-release@v1
155-
with:
156-
draft: true
157-
files: |
158-
${{ steps.archive.outputs.TARBALL }}
159-
${{ steps.archive.outputs.SHASUM }}
152+
#- name: upload tarball
153+
# uses: softprops/action-gh-release@v1
154+
# with:
155+
# draft: true
156+
# files: |
157+
# ${{ steps.archive.outputs.TARBALL }}
158+
# ${{ steps.archive.outputs.SHASUM }}
160159

161160
# Build using Emscripten to JavaScript+WebAssembly.
162161
build-node:
@@ -216,10 +215,10 @@ jobs:
216215
echo "TARBALL=$TARBALL" >> $GITHUB_OUTPUT
217216
echo "SHASUM=$SHASUM" >> $GITHUB_OUTPUT
218217
219-
- name: upload tarball
220-
uses: softprops/action-gh-release@v1
221-
with:
222-
draft: true
223-
files: |
224-
${{ steps.archive.outputs.TARBALL }}
225-
${{ steps.archive.outputs.SHASUM }}
218+
#- name: upload tarball
219+
# uses: softprops/action-gh-release@v1
220+
# with:
221+
# draft: true
222+
# files: |
223+
# ${{ steps.archive.outputs.TARBALL }}
224+
# ${{ steps.archive.outputs.SHASUM }}

0 commit comments

Comments
 (0)