File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ jobs:
186
186
folder : docs/
187
187
target-folder : docs/amaranth/latest/
188
188
- name : Publish release documentation
189
- if : ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') }}
189
+ if : ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') && !contains(github.event.ref, 'dev') }}
190
190
uses : JamesIves/github-pages-deploy-action@releases/v4
191
191
with :
192
192
repository-name : amaranth-lang/amaranth-lang.github.io
@@ -272,12 +272,12 @@ jobs:
272
272
with :
273
273
repository-url : https://test.pypi.org/legacy/
274
274
- name : Publish package to PyPI
275
- if : ${{ github.repository == 'amaranth-lang/amaranth' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/') }}
275
+ if : ${{ github.repository == 'amaranth-lang/amaranth' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') && !contains(github.event.ref, 'dev ') }}
276
276
uses : pypa/gh-action-pypi-publish@release/v1
277
277
278
278
publish-release :
279
279
needs : publish-package
280
- if : ${{ github.repository == 'amaranth-lang/amaranth' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/') }}
280
+ if : ${{ github.repository == 'amaranth-lang/amaranth' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') && !contains(github.event.ref, 'dev ') }}
281
281
runs-on : ubuntu-latest
282
282
permissions :
283
283
contents : write
You can’t perform that action at this time.
0 commit comments