Skip to content

Commit

Permalink
updated artifact handling for test pypi publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
deronsmith committed Dec 2, 2024
1 parent db648f1 commit 5c840c9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/package-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Build and Publish Wheel

on:
# release:
# types: [published]
push:
branches:
- main
Expand Down Expand Up @@ -32,7 +34,7 @@ jobs:
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
name: esat-wheels-${{ matrix.os }}-py${{matrix.python_version}}
path: py_dist/

build_windows_wheel:
Expand All @@ -57,7 +59,7 @@ jobs:
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
name: esat-wheels-${{ matrix.os }}-py${{matrix.python_version}}
path: py_dist/

# publish-to-pypi:
Expand Down Expand Up @@ -144,9 +146,11 @@ jobs:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
pattern: esat-wheels-*
merge-multiple: true
path: py_dist/
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: py_dist/
repository-url: https://test.pypi.org/legacy/

0 comments on commit 5c840c9

Please sign in to comment.