Skip to content

Commit

Permalink
Fix CI again
Browse files Browse the repository at this point in the history
  • Loading branch information
nachovizzo committed Oct 11, 2023
1 parent 3449b49 commit 3bb2f32
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,17 @@ jobs:
run: pipx run build --sdist ${{github.workspace}}/ament_black/
- name: Build wheel
run: pipx run build --wheel ${{github.workspace}}/ament_black/
- name: Move artifacts to dist
run: |
mkdir -p dist
mv ${{github.workspace}}/ament_black/dist/*.tar.gz dist/
mv ${{github.workspace}}/ament_black/dist/*.whl dist/
- uses: actions/upload-artifact@v3
with:
name: Release artifacts
name: artifacts
path: |
${{github.workspace}}/ament_black/dist/*.tar.gz
${{github.workspace}}/ament_black/dist/*.whl
dist/*.tar.gz
dist/*.whl
pypi:
if: github.event_name == 'release'
Expand All @@ -38,7 +43,7 @@ jobs:
steps:
- uses: actions/download-artifact@v3
with:
name: artifact
name: artifacts
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit 3bb2f32

Please sign in to comment.