mirror of
https://github.com/actions/python-versions.git
synced 2025-04-05 06:49:39 +00:00
Update generate_matrix job to allow execution via PR
This commit is contained in:
2
.github/workflows/python-builder.yml
vendored
2
.github/workflows/python-builder.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
||||
- name: Generate execution matrix
|
||||
id: generate-matrix
|
||||
run: |
|
||||
$configurations = "${{ github.event.inputs.platforms }}".Split(",").Trim()
|
||||
$configurations = "${{ github.event.inputs.platforms || 'ubuntu-18.04,ubuntu-20.04,macos-10.15,windows-2019_x64,windows-2019_x86' }}".Split(",").Trim()
|
||||
$matrix = @()
|
||||
|
||||
foreach ($configuration in $configurations) {
|
||||
|
Reference in New Issue
Block a user