File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 49
49
- name : Publish package to GitHub Release
50
50
uses : python-semantic-release/upload-to-gh-release@main
51
51
# NOTE: semrelease output is a string, so we need to compare it to a string
52
- if : ${{ steps.semrelease.outputs.released == 'true' }}
52
+ if : steps.semrelease.outputs.released == 'true'
53
53
with :
54
54
# NOTE: allow to start the workflow when push action on tag gets executed
55
55
# requires using GH_APP to authenitcate, otherwise push authorised with
59
59
tag : ${{ steps.semrelease.outputs.tag }}
60
60
61
61
- name : Store the distribution packages
62
- if : ${{ steps.semrelease.outputs.released == 'true' }}
62
+ if : steps.semrelease.outputs.released == 'true'
63
63
uses : actions/upload-artifact@v4
64
64
with :
65
65
name : python-package-distributions
68
68
publish-to-pypi :
69
69
needs : release
70
70
name : Publish 📦 in PyPI
71
- if : ${{ github.ref == 'refs/heads/main' && needs.release.outputs.released == 'true'}}
71
+ if : github.ref == 'refs/heads/main' && needs.release.outputs.released == 'true'
72
72
runs-on : ubuntu-latest
73
73
environment :
74
74
name : pypi
87
87
publish-to-testpypi :
88
88
name : Publish 📦 in TestPyPI
89
89
needs : release
90
- if : ${{ github.ref == 'refs/heads/main' && needs.release.outputs.released == 'true'}}
90
+ if : github.ref == 'refs/heads/main' && needs.release.outputs.released == 'true'
91
91
runs-on : ubuntu-latest
92
92
93
93
environment :
@@ -111,7 +111,7 @@ jobs:
111
111
documentation :
112
112
needs : release
113
113
runs-on : ubuntu-latest
114
- if : ${{ github.ref == 'refs/heads/main' && needs.release.outputs.released == 'true'}}
114
+ if : github.ref == 'refs/heads/main' && needs.release.outputs.released == 'true'
115
115
steps :
116
116
- uses : actions/checkout@v4
117
117
with :
You can’t perform that action at this time.
0 commit comments