Skip to content

Commit 76697b9

Browse files
committed
Allow skipping latest tag check
1 parent 2278233 commit 76697b9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
description: 'Tag from CPython repository'
66
required: true
77
default: 'v3.14.0'
8+
skip-tag-check:
9+
description: 'Allow running build for non-latest patch tags (useful for testing)'
10+
required: true
11+
type: boolean
12+
default: false
813
permissions:
914
contents: write
1015
jobs:
@@ -22,6 +27,7 @@ jobs:
2227
echo "Provided tag $input_tag is not the latest patch for $major_minor (latest: $latest_patch)." >&2
2328
exit 1
2429
fi
30+
if: ${{ github.event.inputs.skip-tag-check == false }}
2531
- uses: actions/setup-python@master
2632
with:
2733
python-version: 3

0 commit comments

Comments
 (0)