Skip to content

Commit d9bb727

Browse files
committed
Add repository parameter
1 parent 038386f commit d9bb727

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
run-name: build ${{ github.event.inputs.reference }}
1+
run-name: build ${{ github.event.inputs.reference }}:${{ github.event.inputs.reference }}
22
on:
33
workflow_dispatch:
44
inputs:
@@ -10,6 +10,10 @@ on:
1010
description: 'Dist version (compatible with patchlevel.py output)'
1111
required: true
1212
default: '3.14'
13+
repository:
14+
description: 'Repository to checkout'
15+
required: true
16+
default: 'python/cpython'
1317
permissions:
1418
contents: write
1519
jobs:
@@ -21,7 +25,7 @@ jobs:
2125
python-version: 3
2226
- uses: actions/checkout@master
2327
with:
24-
repository: m-aciek/cpython
28+
repository: ${{ github.event.inputs.repository }}
2529
ref: ${{ github.event.inputs.reference }}
2630
- run: make venv
2731
working-directory: ./Doc

0 commit comments

Comments
 (0)