Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit d0c2c07

Browse files
committed
...
1 parent fe17f05 commit d0c2c07

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/release-osx.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
on:
22
push:
3-
branches:
4-
- development_herocode
3+
tags:
4+
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
5+
workflow_dispatch:
6+
inputs:
7+
tag_name:
8+
description: 'Tag name for release'
9+
required: true
10+
default: 'v1.0.0'
11+
512

613
name: Create OSX Release
714

@@ -18,8 +25,8 @@ jobs:
1825
env:
1926
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2027
with:
21-
tag_name: ${{ github.ref }}
22-
release_name: Release ${{ github.ref }} - OSX
28+
tag_name: ${{ github.event.inputs.tag_name || github.ref }}
29+
release_name: Release ${{ github.event.inputs.tag_name || github.ref }} - OSX
2330
draft: false
2431
prerelease: false
2532

0 commit comments

Comments
 (0)