Skip to content

Commit 1c52b41

Browse files
committed
publish/action.yaml: Set url output for package on pypi.org.
1 parent 37ec234 commit 1c52b41

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

publish/action.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ outputs:
1919
package-version:
2020
description: 'Version number of the package'
2121
value: ${{ steps.package-name.outputs.version }}
22+
url:
23+
description: 'URL of the package on pypi.org (or test.pypi.org)'
24+
value: https://${{ inputs.test-only == 'true' && 'test.' || '' }}pypi.org/p/${{ steps.package-name.outputs.name }}
2225

2326
runs:
2427
using: 'composite'

setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ description: |-
44
Uses `uv` to install python and setup the project venv
55
Invoke with `uses: glenn20/python-ci/setup@v1`
66
author: glenn20
7+
78
inputs:
89
python-version:
910
description: "Python version to install"
1011
required: false
1112
default: "3.12"
12-
type: string
1313

1414
runs:
1515
using: 'composite'

0 commit comments

Comments
 (0)