File tree Expand file tree Collapse file tree 3 files changed +27
-6
lines changed
Expand file tree Collapse file tree 3 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 1- # This workflow will build a Java project with Maven
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3-
41name : Master CICD
52
63on :
Original file line number Diff line number Diff line change 1- # This workflow will build a Java project with Maven
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3-
41name : Pull Request CI
52
63on :
Original file line number Diff line number Diff line change 1+ name : Tag CI
2+
3+ on :
4+ push :
5+ tags : [ v* ]
6+
7+ jobs :
8+ build :
9+ name : Create Release
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v2
14+ - name : Create Release
15+ id : create_release
16+ uses : actions/create-release@v1
17+ env :
18+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19+ with :
20+ tag_name : ${{ github.ref }}
21+ release_name : Release ${{ github.ref }}
22+ body : |
23+ Changes in this Release
24+ - First Change
25+ - Second Change
26+ draft : false
27+ prerelease : false
You can’t perform that action at this time.
0 commit comments