mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Added ubuntu_image_version parameter.
This commit is contained in:
7
.github/workflows/PublishOnPyPI.yml
vendored
7
.github/workflows/PublishOnPyPI.yml
vendored
@@ -25,6 +25,11 @@ name: Publish on PyPI
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
ubuntu_image_version:
|
||||
description: 'Ubuntu image version.'
|
||||
required: false
|
||||
default: '24.04'
|
||||
type: string
|
||||
python_version:
|
||||
description: 'Python version.'
|
||||
required: false
|
||||
@@ -48,7 +53,7 @@ jobs:
|
||||
|
||||
PublishOnPyPI:
|
||||
name: 🚀 Publish to PyPI
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: "ubuntu-${ubuntu_image_version}"
|
||||
|
||||
steps:
|
||||
- name: 📥 Download artifacts '${{ inputs.artifact }}' from 'Package' job
|
||||
|
||||
Reference in New Issue
Block a user