Skip to content

Commit

Permalink
chore: test gha
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonSzyszkowski committed Dec 17, 2024
1 parent e218753 commit 9b12ada
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Publish package to GitHub Release
uses: python-semantic-release/upload-to-gh-release@main
# NOTE: semrelease output is a string, so we need to compare it to a string
if: ${{ steps.semrelease.outputs.released == 'true' }}
if: steps.semrelease.outputs.released == 'true'
with:
# NOTE: allow to start the workflow when push action on tag gets executed
# requires using GH_APP to authenitcate, otherwise push authorised with
Expand All @@ -60,7 +60,7 @@ jobs:
tag: ${{ steps.semrelease.outputs.tag }}

- name: Store the distribution packages
if: ${{ steps.semrelease.outputs.released == 'true' }}
if: steps.semrelease.outputs.released == 'true'
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
documentation:
needs: release
runs-on: ubuntu-latest
if: ${{github.ref == 'refs/heads/main' && needs.release.outputs.released == 'true'}}
if: github.ref == 'refs/heads/main' && needs.release.outputs.released == 'true'
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 9b12ada

Please sign in to comment.