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-template : ' $NEXT_MINOR_VERSION'
2+ tag-template : ' $NEXT_MINOR_VERSION'
3+ categories :
4+ - title : ' 🚀 New Features'
5+ label : ' type:new feature'
6+ - title : ' 🔬 Improvements'
7+ label : ' type:enhancement'
8+ - title : ' 🐞 Bug Fixes'
9+ label : ' type:bug'
10+
11+ change-template : ' * $TITLE (via #$NUMBER) - @$AUTHOR'
12+ template : |
13+ $CHANGES
14+
15+ ## 👀 Links
16+
17+ [Commits since $PREVIOUS_TAG](https://github.com/allure-framework/allure-teamcity/compare/$PREVIOUS_TAG...master)
18+
Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - ' *'
7+ push :
8+ branches :
9+ - ' master'
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v1
16+ - name : Set up JDK 1.8
17+ uses : actions/setup-java@v1
18+ with :
19+ java-version : 1.8
20+ - name : Build
21+ run : ./gradlew installTeamcity2017 build
Original file line number Diff line number Diff line change 1+ name : Release Draft
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ update_draft_release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : toolmantim/release-drafter@v5.2.0
13+ env :
14+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v1
12+ - name : Set up JDK 1.8
13+ uses : actions/setup-java@v1
14+ with :
15+ java-version : 1.8
16+ - name : " Gradle Build"
17+ run : ./gradlew installTeamcity2017 build -Pversion=${GITHUB_REF:10}
18+ - name : " Upload binaries"
19+ uses : actions/upload-release-asset@v1.0.1
20+ env :
21+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22+ with :
23+ upload_url : ${{ github.event.release.upload_url }}
24+ asset_path : allure-teamcity-server/build/distributions/allure-teamcity.zip
25+ asset_name : allure-teamcity.zip
26+ asset_content_type : application/octet-stream
You can’t perform that action at this time.
0 commit comments