From 3bb2f323b2fd45417a1e9255b6468edd6124857b Mon Sep 17 00:00:00 2001 From: Ignacio Vizzo Date: Wed, 11 Oct 2023 09:31:14 +0200 Subject: [PATCH] Fix CI again --- .github/workflows/pypi.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 63d3df7..7b5bd74 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -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' @@ -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: