From 7a740c06fdf355e3ff56973dafc8b8eda40ca89f Mon Sep 17 00:00:00 2001 From: Tommy Verrall <60836166+tommyv1987@users.noreply.github.com> Date: Tue, 25 Jul 2023 13:45:32 +0200 Subject: [PATCH] Update nym-connect-publish-macos.yml (#3705) * Update nym-connect-publish-macos.yml install wasm and build * Update nym-connect-publish-macos.yml use the correct download --- .github/workflows/nym-connect-publish-macos.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/nym-connect-publish-macos.yml b/.github/workflows/nym-connect-publish-macos.yml index 8fee0b23f9..1bca6d03d2 100644 --- a/.github/workflows/nym-connect-publish-macos.yml +++ b/.github/workflows/nym-connect-publish-macos.yml @@ -31,10 +31,20 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18 + - name: Install Rust stable uses: actions-rs/toolchain@v1 with: toolchain: stable + target: wasm32-unknown-unknown + + - name: Install wasm-pack + run: | + export WASM_PACK_VERSION="v0.12.1" + curl -LO https://github.com/rustwasm/wasm-pack/releases/download/${WASM_PACK_VERSION}/wasm-pack-${WASM_PACK_VERSION}-x86_64-apple-darwin.tar.gz + tar xvzf wasm-pack-${WASM_PACK_VERSION}-x86_64-apple-darwin.tar.gz -C $HOME/.cargo/bin --strip-components=1 + rm wasm-pack-${WASM_PACK_VERSION}-x86_64-apple-darwin.tar.gz + - name: Install the Apple developer certificate for code signing env: APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}