mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 11:06:56 +08:00
Added ubuntu_image_version parameter.
This commit is contained in:
7
.github/workflows/Parameters.yml
vendored
7
.github/workflows/Parameters.yml
vendored
@@ -25,6 +25,11 @@ name: Parameters
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
ubuntu_image_version:
|
||||
description: 'Ubuntu image version.'
|
||||
required: false
|
||||
default: '24.04'
|
||||
type: string
|
||||
name:
|
||||
description: 'Name of the tool.'
|
||||
required: true
|
||||
@@ -96,7 +101,7 @@ on:
|
||||
|
||||
jobs:
|
||||
Parameters:
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: "ubuntu-${ubuntu_image_version}"
|
||||
outputs:
|
||||
python_version: ${{ steps.params.outputs.python_version }}
|
||||
python_jobs: ${{ steps.params.outputs.python_jobs }}
|
||||
|
||||
Reference in New Issue
Block a user