Skip to content

Commit 90c656e

Browse files
committed
chore: change workflow input labels for clarity
1 parent 6d0ebaa commit 90c656e

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
description: 'Optional version to use (bypasses version bump and git commits if provided)'
88
required: false
99
default: ""
10-
mfd-tag:
11-
description: 'The MFD tag to use for API docs'
10+
mfd-ref:
11+
description: 'The MFD ref (branch, tag, or SHA) to use for API docs'
1212
required: false
1313
default: ""
1414

@@ -63,12 +63,12 @@ jobs:
6363
env:
6464
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
6565
run: |
66-
MFD_TAG='${{ inputs.mfd-tag }}'
67-
if [[ -z "${MFD_TAG}" ]]; then
68-
MFD_TAG=$(gh api /repos/cloudbeds/mfd/releases/latest | jq -r '.tag_name')
66+
MFD_REF='${{ inputs.mfd-ref }}'
67+
if [[ -z "${MFD_REF}" ]]; then
68+
MFD_REF=$(gh api /repos/cloudbeds/mfd/releases/latest | jq -r '.tag_name')
6969
fi
70-
echo "Latest MFD tag: $MFD_TAG"
71-
gh api /repos/cloudbeds/mfd/tarball/$MFD_TAG | tar --strip-components=1 --wildcards -zxf - '*/public_accessa/api'
70+
echo "Using MFD ref: $MFD_REF"
71+
gh api /repos/cloudbeds/mfd/tarball/$MFD_REF | tar --strip-components=1 --wildcards -zxf - '*/public_accessa/api'
7272
7373
- name: Get next version
7474
run: |

0 commit comments

Comments
 (0)