Skip to content

Commit

Permalink
chore: create github release in cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Nov 23, 2023
1 parent eb1775d commit 65a4b93
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
token: ${{secrets.PAT}}

# use semantic-release
- uses: python-semantic-release/python-semantic-release@master
id: semantic-release-job
uses: python-semantic-release/python-semantic-release@master

# Always build & lint package. Need to re-checkout after semantic-release in case it
# made a commit
Expand Down Expand Up @@ -95,7 +96,7 @@ jobs:
permissions:
id-token: write
contents: write
if: semantic-release.outputs.released == 'true'
if: steps.semantic-release-job.outputs.released == 'true'
# if: ${{ always() && contains(join(needs.*.result, ','), 'success') }}
needs: [semantic-release, build-package]
steps:
Expand Down

0 comments on commit 65a4b93

Please sign in to comment.