Skip to content

Commit 1d776c4

Browse files
authored
fix(pypi-upload): set correct build-arg (#107)
add tests for Python 3.12 and update path to test repo
1 parent 5db4d72 commit 1d776c4

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/test-pypi-upload.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,17 @@ jobs:
2121
uses: actions/checkout@v4
2222
with:
2323
repository: ignition-devs/incendium
24-
path: test
24+
path: incendium
2525

26-
- name: pypi-upload
26+
- name: pypi-upload-2.7
2727
uses: ./pypi-upload
2828
with:
2929
dry-run: true
30-
working-directory: test/incendium
30+
working-directory: incendium/incendium
31+
32+
- name: pypi-upload-3.12
33+
uses: ./pypi-upload
34+
with:
35+
dry-run: true
36+
working-directory: incendium/incendium-stubs
37+
python-version: '3.12'

pypi-upload/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: coatl-dev-pypi-upload
22
description: >-
3-
GitHub action to build and upload your Python distribution packages PyPI
3+
GitHub action to build and upload your Python distribution packages to PyPI
44
(or any other repository) using build and twine.
55
author: cesarcoatl
66

@@ -45,7 +45,7 @@ runs:
4545
- shell: bash
4646
run: |
4747
docker build \
48-
--build-arg VERSION=${{ inputs.python-version }} \
48+
--build-arg PYTHON_VERSION=${{ inputs.python-version }} \
4949
--file ${{ github.action_path }}/Dockerfile \
5050
--tag coatl-dev-pypi-upload:${{ inputs.python-version }} \
5151
${{ github.action_path }}

0 commit comments

Comments
 (0)