summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2022-10-25 09:42:39 +0200
committerGitHub <noreply@github.com>2022-10-25 09:42:39 +0200
commitc50103ffb9a141e9bf5f90ee4ed79301689d7159 (patch)
tree994bfbe327c80dde7d2f4a02724bb8ba8a1a3c65 /.github
parentdf77577274f94c7b254497acdac4a8af701767ac (diff)
chore(ci): brew work now plox
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9ad49e0be..b4534b1e1 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -66,9 +66,13 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y --no-install-recommends musl-tools
- - name: Enable brew in ubuntu
+ - name: Install wasm-opt (macos)
+ if: runner.os == 'macos'
+ run: brew install binaryen
+
+ - name: Install wasm-opt (ubuntu)
if: matrix.os == 'ubuntu-latest'
- run: eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
+ run: eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && brew install binaryen
- name: Install wasm-opt
run: brew install binaryen