Skip to content

Commit

Permalink
build: updated CI-CD.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrod committed Sep 10, 2024
1 parent 73603b5 commit fdc518c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
- name: Test with pytest
run: poetry run pytest tests/ --cov=karney --cov-report=xml
release-build:
concurrency: release-build
permissions:
id-token: write
contents: write
Expand Down Expand Up @@ -70,11 +71,12 @@ jobs:
uses: python-semantic-release/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload distributions
uses: actions/upload-artifact@v4

- name: Publish package distributions to GitHub Releases
uses: python-semantic-release/[email protected]
if: steps.release.outputs.released == 'true'
with:
name: release-dists
path: dist/
github_token: ${{ secrets.GITHUB_TOKEN }}

testpypi-publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit fdc518c

Please sign in to comment.