Skip to content

Commit 50ffba5

Browse files
committed
expose runner in release.yml
1 parent a4e1f5e commit 50ffba5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,16 @@ name: Release
88

99
on:
1010
workflow_call:
11+
inputs:
12+
runner:
13+
type: string
14+
description: 'The main runner to use everywhere'
15+
default: 'ubuntu-latest'
16+
required: false
1117

1218
jobs:
1319
pypi-release:
14-
runs-on: ubuntu-latest
20+
runs-on: ${{ inputs.runner }}
1521
# environment: # Add once trusted publisher works with reusable workflows
1622
# name: pypi # Add once trusted publisher works with reusable workflows
1723
# url: https://pypi.org/p/${{ github.event.repository.name }} # Add once trusted publisher works with reusable workflows

0 commit comments

Comments
 (0)