File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 88jobs :
99 build :
1010 name : Semantic release
11- environment : main
1211 runs-on : ubuntu-latest
1312 steps :
1413 - uses : actions/checkout@v4
3029 HACKAGE_KEY : " ${{ secrets.HACKAGE_TOKEN }}"
3130
3231 with :
33- ci : ${{ github.ref == 'refs/heads/main' }}
32+ ci : ${{ github.ref == github.event.repository.default_branch }}
3433 extra_plugins : |
3534 conventional-changelog-conventionalcommits
3635 semantic-release-mirror-version
3938 - name : Semantic release output
4039 run : |
4140 echo ref: ${{ github.ref }}
42- echo dry_run: ${{ github.ref != 'refs/heads/main' }}
41+ echo dry_run: ${{ github.ref_name != github.event.repository.default_branch }}
4342 echo published: ${{ steps.semantic.outputs.new_release_published }}
4443 echo last_release: ${{ steps.semantic.outputs.last_release_version }}
4544 echo new_version: ${{ steps.semantic.outputs.new_release_version }}
You can’t perform that action at this time.
0 commit comments