Skip to content

Commit 9b8209a

Browse files
committed
ci: 🎡 WIP package publishing in CI
1 parent b9ef134 commit 9b8209a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎.github/workflows/tag-publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# needs: [test, cypress]
3333
# if: startsWith(github.event.ref, 'refs/tags/v')
3434
if: |
35-
github.event.release.prerelease == true && startsWith(github.ref, 'refs/tags/v')
35+
startsWith(github.ref, 'refs/tags/v') && github.event.release.prerelease == true
3636
runs-on: ubuntu-latest
3737
env:
3838
RELEASE_CONTEXT: ${{ toJson(github.event.release) }}
@@ -50,8 +50,7 @@ jobs:
5050
5151
onlyonmain:
5252
name: Publish stable packages
53-
# if: contains( github.ref, 'test-package-publishing')
54-
if: github.event.release.target_commitish == 'test-package-publishing'
53+
if: github.event.release.target_commitish == 'test-package-publishing' && github.event.release.prerelease == false
5554
runs-on: ubuntu-latest
5655
steps:
5756
- name: Publish stable packages

0 commit comments

Comments
 (0)