Skip to content

Commit 1df769b

Browse files
authored
Update CDDA.yml
1 parent 412c9e9 commit 1df769b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/CDDA.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
# Allows you to run this workflow manually from the Actions tab
77
workflow_dispatch:
88
inputs:
9+
branch:
10+
required: true
11+
type: string
912
tag:
1013
required: true
1114
type: string
@@ -25,6 +28,7 @@ jobs:
2528
- name: Checkout Branch
2629
uses: actions/checkout@v4
2730
with:
31+
ref: ${{ inputs.branch }}
2832
sparse-checkout: |
2933
ports/cataclysm-dda
3034
fetch-depth: 1
@@ -40,7 +44,7 @@ jobs:
4044
- name: Release
4145
uses: ncipollo/release-action@v1
4246
with:
43-
tag: "${{ inputs.tag }}"
47+
tag: "${{ inputs.branch }}-${{ inputs.tag }}"
4448
artifacts: "ports/cataclysm-dda/cataclysm-dda.zip"
4549
body: ${{ inputs.description }}
4650
draft: false

0 commit comments

Comments
 (0)