File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 1111 build :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
14+ - name : Checkout
15+ uses : actions/checkout@v3
16+ - name : Semantic Release
17+ uses : cycjimmy/semantic-release-action@v4
18+ with :
19+ branch : ' master'
20+ extra_plugins : |
21+ @semantic-release/commit-analyzer
22+ @semantic-release/release-notes-generator
23+ @semantic-release/git
24+ env :
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26+ - name : Get Semantic Release Version
27+ id : get-version
28+ run : echo "::set-output name=version::$(sed -n '1p' CHANGELOG.md | awk '{print $NF}')"
29+
30+ - name : show version
31+ run : |
32+ echo "Semantic Release Version: ${{ steps.get-version.outputs.version }}"
33+
1534 - name : setup qemu for multi-arch build
1635 uses : docker/setup-qemu-action@v2
1736 with :
You can’t perform that action at this time.
0 commit comments