File tree Expand file tree Collapse file tree 4 files changed +67
-8
lines changed
Expand file tree Collapse file tree 4 files changed +67
-8
lines changed Original file line number Diff line number Diff line change 1+ name : Build main
2+ on :
3+ push :
4+ branches :
5+ - ' main'
6+
7+ permissions :
8+ contents : write
9+
10+ jobs :
11+ main :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Set up JDK 11
15+ uses : actions/setup-java@v3
16+ with :
17+ java-version : ' 11'
18+ distribution : ' temurin'
19+
20+ - name : Checkout Repo
21+ uses : actions/checkout@v3
22+ with :
23+ fetch-depth : 0
24+
25+ - name : Build Project
26+ run : ./gradlew gitVersion check javadoc -P GITHUB_API_TOKEN=${{ secrets.GITHUB_TOKEN }}
27+
28+ - name : Tag Release
29+ run : ./gradlew gitTagRelease -P GITHUB_API_TOKEN=${{ secrets.GITHUB_TOKEN }}
30+
31+ - name : Push Tags
32+ run : git push --tags
33+
34+ - name : Upload Test Results
35+ uses : codecov/codecov-action@v3
36+ with :
37+ fail_ci_if_error : true # optional (default = false)
38+ verbose : true # optional (default = false)
Original file line number Diff line number Diff line change 1+ name : Build PR
2+ on :
3+ pull_request :
4+ branches :
5+ - ' main'
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Set up JDK 11
11+ uses : actions/setup-java@v3
12+ with :
13+ java-version : ' 11'
14+ distribution : ' temurin'
15+
16+ - name : Checkout Repo
17+ uses : actions/checkout@v3
18+ with :
19+ fetch-depth : 0
20+
21+ - name : Build Project
22+ run : ./gradlew gitVersion check javadoc -P GITHUB_API_TOKEN=${{ secrets.GITHUB_TOKEN }}
23+
24+ - name : Upload Test Results
25+ uses : codecov/codecov-action@v3
26+ with :
27+ fail_ci_if_error : true # optional (default = false)
28+ verbose : true # optional (default = false)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- [ ![ Build Status ] ( https://travis-ci.org /dmfs/lib-recur. svg?branch=master )] ( https://travis-ci.org /dmfs/lib-recur )
1+ [ ![ Build] ( https://github.com /dmfs/lib-recur/actions/workflows/main.yml/badge. svg?label=main )] ( https://github.com /dmfs/lib-recur/actions/workflows/main.yml )
22[ ![ codecov] ( https://codecov.io/gh/dmfs/lib-recur/branch/master/graph/badge.svg )] ( https://codecov.io/gh/dmfs/lib-recur )
33
44# lib-recur
You can’t perform that action at this time.
0 commit comments