Skip to content

Commit

Permalink
Update paths for storing python package artifacts
Browse files Browse the repository at this point in the history
Change-Id: Ic2eb0f217943023f59ee7e85cb51da22896cdc05
  • Loading branch information
AVMarkin committed Oct 23, 2024
1 parent 48d605a commit 0637005
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-gaarf-py.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Publish Python package to PyPI

on: push

on:
push:
tags: [ "*-py" ]
jobs:
build:
name: Build distribution
Expand All @@ -25,12 +26,11 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: py/dist/
path: dist/

publish-to-pypi:
name: >-
Publish Python package to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
Expand All @@ -45,6 +45,6 @@ jobs:
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: py/dist/
path: dist/
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 0637005

Please sign in to comment.