File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Bump version
1+ name : github action tag release
2+
23on :
34 push :
45 branches :
5- - master # master branch로 push될 때 아래 action이 실행된다.
6+ - master
7+
68jobs :
7- build :
9+ setup-build-deploy :
10+ name : Setup, Build, and Deploy
811 runs-on : ubuntu-latest
12+ permissions :
13+ packages : write
14+ contents : write
15+ id-token : write
16+
917 steps :
10- - uses : actions/checkout@v2
11- - name : Bump version and push tag
12- id : tag_version
13- uses : mathieudutour/github-tag-action@v5.5 # 가져다 쓸 auto tagging 프로그램
14- with :
15- github_token : ${{ secrets.GITHUB_TOKEN }} # secrets.GITHUB_TOKEN 는 자동생성됨
16- - name : Create a GitHub release
17- uses : actions/create-release@v1
18- env :
19- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20- with :
21- tag_name : ${{ steps.tag_version.outputs.new_tag }}
22- release_name : Release ${{ steps.tag_version.outputs.new_tag }}
23- body : ${{ steps.tag_version.outputs.changelog }}
18+ - name : Bump version and push tag
19+ id : tag_version
20+ uses : mathieudutour/github-tag-action@v6.1
21+ with :
22+ github_token : ${{ secrets.GITHUB_TOKEN }}
23+
24+ - name : Create a GitHub release
25+ uses : ncipollo/release-action@v1
26+ with :
27+ tag : ${{ steps.tag_version.outputs.new_tag }}
28+ name : Release ${{ steps.tag_version.outputs.new_tag }}
29+ body : ${{ steps.tag_version.outputs.changelog }}
You can’t perform that action at this time.
0 commit comments