Update build artifacts
Some checks failed
Python CI / test (push) Has been cancelled
Python CI / build (push) Has been cancelled

This commit is contained in:
Benedith Mulongo 2024-10-18 15:01:27 +02:00
parent 180c604266
commit 3df64f75ea
Signed by: benedith
GPG key ID: 62D68B584B4B3EB3

View file

@ -74,19 +74,9 @@ jobs:
- name: List files in dist/ - name: List files in dist/
run: ls -al dist run: ls -al dist
- name: Publish artifacts
if: github.ref == 'refs/tags/v*'
run: |
poetry publish --build
echo "Artifacts published successfully"
publish:
runs-on: ubuntu-latest
needs: build
steps:
- name: 'Upload Artifact' - name: 'Upload Artifact'
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: ${{ github.event.release.tag_name }}-build name: build-artifacts
path: dist/ path: dist/
retention-days: 5 retention-days: 5