Change trigger for GitHub Action to build and sign the wallet

This commit is contained in:
Mark Sinclair
2022-02-02 16:28:47 +00:00
parent 163d4ff5fb
commit 911a3d0c04
2 changed files with 10 additions and 22 deletions
+10 -3
View File
@@ -1,8 +1,7 @@
name: Publish Nym Wallet (MacOS)
on:
push:
tags:
- nym-wallet-*
release:
types: [created]
defaults:
run:
@@ -18,6 +17,14 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: Check the release tag starts with `nym-wallet-`
if: startsWith(github.ref, 'refs/tags/nym-wallet-')
uses: actions/github-script@v3
with:
script: |
core.setFailed('Release tag did not start with nym-wallet-...')
- name: Node v16
uses: actions/setup-node@v1
with:
-19
View File
@@ -1,19 +0,0 @@
name: Publish Nym Wallet (create release based on tag name)
on:
push:
tags:
- nym-wallet-*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
body: This is a pre-release of the Nym Wallet.