mirror of
https://github.com/NohamR/RMHook-Win.git
synced 2026-11-25 15:29:53 +00:00
Update build-and-release.yml
This commit is contained in:
1 parent
ab3f54a425
commit
0779f5f403
1 file changed
+7
-1
@@ -4,7 +4,12 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*' # Trigger on version tags
|
- 'v*' # Trigger on version tags
|
||||||
workflow_dispatch: # Allow manual triggering to create a draft release
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
description: 'Release tag (e.g., v1.0.1)'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -42,6 +47,7 @@ jobs:
|
|||||||
- name: Create Draft Release
|
- name: Create Draft Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
tag_name: ${{ inputs.tag || github.ref_name }}
|
||||||
draft: true
|
draft: true
|
||||||
files: ./release-artifacts/paho-mqtt3as.dll
|
files: ./release-artifacts/paho-mqtt3as.dll
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
Reference in new issue
Block a user