From 194fd9ca7eb2f40a228e10e138496f2cfe484214 Mon Sep 17 00:00:00 2001 From: TuTiDore <113271459+TuTiDore@users.noreply.github.com> Date: Sat, 4 Mar 2023 21:10:43 -0500 Subject: [PATCH] Run release draft build on dispatch (#37) --- .github/workflows/build.yml | 9 ++++----- .github/workflows/test.yml | 2 -- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8ab0e5..b07308a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,7 @@ name: build on: - push: - branches: [main] + workflow_dispatch: jobs: build-tauri: @@ -32,8 +31,8 @@ jobs: TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} with: # the action automatically replaces \_\_VERSION\_\_ with the app version - tagName: draft-release - releaseName: "TEMPLATE" - releaseBody: "This template build used tauri config __VERSION__" + tagName: __VERSION__-beta + releaseName: "__VERSION__ BETA" + releaseBody: "See the assets to download this version and install." releaseDraft: true prerelease: false diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2bac010..1d462d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,6 @@ name: test on: - push: - branches: [main] pull_request: branches: [main]