Skip to content

Commit

Permalink
setup building for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle committed May 28, 2024
1 parent 28b9948 commit 25346d6
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Build and Release

on:
workflow_dispatch:
push:
tags:
- '*'

jobs:

Expand Down Expand Up @@ -38,9 +40,10 @@ jobs:
with:
draft: true
allowUpdates: true
name: "test release"
commit: "master"
tag: "master"
replacesArtifacts: true
omitDraftDuringUpdate: true
omitNameDuringUpdate: true
name: v${{github.ref_name}}
artifacts: "dist/*-win-installer.exe,dist/*-win-portable.exe"

build_mac:
Expand Down Expand Up @@ -76,7 +79,8 @@ jobs:
with:
draft: true
allowUpdates: true
name: "test release"
commit: "master"
tag: "master"
replacesArtifacts: true
omitDraftDuringUpdate: true
omitNameDuringUpdate: true
name: v${{github.ref_name}}
artifacts: "dist/*-mac.dmg"

0 comments on commit 25346d6

Please sign in to comment.