From a1f2d33397c4264121aaf1788e1303b30d8a3b01 Mon Sep 17 00:00:00 2001 From: Mark Sinclair Date: Wed, 23 Mar 2022 16:42:49 +0000 Subject: [PATCH] Enabled GitHub Action to build Windows release for nym wallet --- .../nym-wallet-publish-windows10.yml | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/nym-wallet-publish-windows10.yml b/.github/workflows/nym-wallet-publish-windows10.yml index 5b813f27c9..2879fa7989 100644 --- a/.github/workflows/nym-wallet-publish-windows10.yml +++ b/.github/workflows/nym-wallet-publish-windows10.yml @@ -1,7 +1,7 @@ name: Publish Nym Wallet (Windows 10) -on: [push, workflow_dispatch] -# release: -# types: [created] +on: + release: + types: [created] defaults: run: @@ -18,12 +18,12 @@ jobs: steps: - uses: actions/checkout@v2 -# - name: Check the release tag starts with `nym-wallet-` -# if: startsWith(github.ref, 'refs/tags/nym-wallet-') == false -# uses: actions/github-script@v3 -# with: -# script: | -# core.setFailed('Release tag did not start with nym-wallet-...') + - name: Check the release tag starts with `nym-wallet-` + if: startsWith(github.ref, 'refs/tags/nym-wallet-') == false + uses: actions/github-script@v3 + with: + script: | + core.setFailed('Release tag did not start with nym-wallet-...') - name: Import signing certificate env: @@ -57,7 +57,7 @@ jobs: WINDOWS_CERTIFICATE_PASSWORD: ${{ secrets.WINDOWS_CERTIFICATE_PASSWORD }} run: yarn build -# - name: Upload to release based on tag name -# uses: softprops/action-gh-release@v1 -# with: -# files: nym-wallet/target/release/bundle/msi/*.msi + - name: Upload to release based on tag name + uses: softprops/action-gh-release@v1 + with: + files: nym-wallet/target/release/bundle/msi/*.msi