Skip to content

Commit

Permalink
Merge pull request #42 from ETSInitiative/gh-artefacts
Browse files Browse the repository at this point in the history
CI: build artefact
  • Loading branch information
casperdcl authored Oct 30, 2024
2 parents 02e81fc + d625b3d commit d28fe4f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ jobs:
./petsird_analysis test.h5
- uses: casperdcl/deploy-pypi@v2
with:
build: -s python -o dist
build: python -o dist
upload: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
- if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: casperdcl/deploy-pypi@v2
- uses: actions/upload-artifact@v4
with:
url: https://test.pypi.org/legacy/
password: ${{ secrets.TEST_PYPI_TOKEN }}
name: python-petsird
path: dist/**

0 comments on commit d28fe4f

Please sign in to comment.