File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,18 +20,20 @@ jobs:
2020 with :
2121 persist-credentials : false # This is important if you have branch protection rules!
2222 - name : Semantic Release
23+ id : semantic
2324 uses : cycjimmy/semantic-release-action@v4
2425 with :
2526 branch : ' master'
2627 env :
2728 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2829 - name : Get Semantic Release Version
2930 id : get-version
30- run : echo "::set-output name=version::$(grep -oP '\[\d+\.\d+\.\d+\]' CHANGELOG.md | tr -d '[]' )"
31+ run : echo "::set-output name=version::$(echo ${{ steps.Semantic.new_release_version }} )"
3132
3233 - name : show version
3334 run : |
34- echo "Semantic Release Version: ${{ steps.get-version.outputs.version }}"
35+ echo "Semantic Release Version: ${{ steps.Semantic.new_release_version }}"
36+
3537
3638 - name : setup qemu for multi-arch build
3739 uses : docker/setup-qemu-action@v2
5860 repo : ${{ github.repository }}
5961 branch : ${{ github.head_ref || github.ref_name }}
6062 env :
61- GITHUB_TOKEN : ${{secrets.ACCESS_TOKEN}}
63+ GITHUB_TOKEN : ${{secrets.ACCESS_TOKEN}}
You can’t perform that action at this time.
0 commit comments