Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

Commit

Permalink
Try New Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Bwc9876 committed Jul 11, 2022
1 parent c6e2169 commit 995d1a6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,5 @@ jobs:
with:
tagName: v__VERSION__ # tauri-action replaces \_\_VERSION\_\_ with the app version
releaseName: "Version __VERSION__"
releaseBody: "See the assets to download this version and install."
releaseDraft: true
prerelease: false
23 changes: 23 additions & 0 deletions .github/workflows/draft_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Create/Update Release

on:
pull_request:
branches:
- dev
types:
- ready_for_review
- edited
- labeled

jobs:
prepare_release:
name: Prepare Release
runs-on: ubuntu-latest
steps:
- name: Create/Update Draft Release
if: ${{ github.event.pull_request.draft != true && github.event.pull_request.labels[0].name == "version-pr" }}
uses: softprops/action-gh-release@v1
with:
name: ${{ github.event.pull_request.title }}
body: ${{ github.event.pull_request.body }}
draft: true

0 comments on commit 995d1a6

Please sign in to comment.