We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 412c9e9 commit 1df769bCopy full SHA for 1df769b
.github/workflows/CDDA.yml
@@ -6,6 +6,9 @@ on:
6
# Allows you to run this workflow manually from the Actions tab
7
workflow_dispatch:
8
inputs:
9
+ branch:
10
+ required: true
11
+ type: string
12
tag:
13
required: true
14
type: string
@@ -25,6 +28,7 @@ jobs:
25
28
- name: Checkout Branch
26
29
uses: actions/checkout@v4
27
30
with:
31
+ ref: ${{ inputs.branch }}
32
sparse-checkout: |
33
ports/cataclysm-dda
34
fetch-depth: 1
@@ -40,7 +44,7 @@ jobs:
40
44
- name: Release
41
45
uses: ncipollo/release-action@v1
42
46
43
- tag: "${{ inputs.tag }}"
47
+ tag: "${{ inputs.branch }}-${{ inputs.tag }}"
48
artifacts: "ports/cataclysm-dda/cataclysm-dda.zip"
49
body: ${{ inputs.description }}
50
draft: false
0 commit comments