File tree 3 files changed +42
-34
lines changed
3 files changed +42
-34
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ braches : [dev, main ]
6
+ pull_request :
7
+ branches : [dev, main ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout code
14
+ uses : actions/checkout@v2
15
+ with :
16
+ path : build_dir
17
+ - uses : actions/setup-java@v2
18
+ with :
19
+ distribution : ' adopt'
20
+ java-version : ' 8'
21
+ check-latest : true
22
+ - name : Gradle Build
23
+ run : |
24
+ cd $GITHUB_WORKSPACE/build_dir
25
+ ./gradlew --stacktrace build
26
+ - name : Gradle Docs
27
+ run : |
28
+ cd $GITHUB_WORKSPACE/build_dir
29
+ ./gradlew --stacktrace docs
30
+ - name : Codecov report
31
+ run : |
32
+ cd $GITHUB_WORKSPACE/build_dir
33
+ ./gradlew codeCoverageReport
34
+ - name : Codecov
35
+ uses : codecov/codecov-action@v1
36
+ - name : Upload Archives
37
+ run : |
38
+ cd $GITHUB_WORKSPACE/build_dir
39
+ ./gradlew uploadArchives -PossrhUsername='${{ secrets.SONATYPE_USERNAME }}' -PossrhPassword='${{ secrets.SONATYPE_PASSWORD}}'
40
+ if : steps.extract_branch.outputs.branch == 'main'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# ![ Alpaca] ( https://cloud.githubusercontent.com/assets/2371345/15409648/16c140b4-1dec-11e6-81d9-41929bc83b1f.png ) Alpaca
2
- [ ![ Build Status] ( https://travis-ci .com/Islandora /Alpaca. svg?branch=master )] ( https://travis-ci .com/Islandora/Alpaca )
2
+ [ ![ Build Status] ( https://github .com/islandora /Alpaca/actions/workflows/build-dev.yml/badge. svg )] ( https://github .com/Islandora/Alpaca/actions )
3
3
[ ![ Contribution Guidelines] ( http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg )] ( ./CONTRIBUTING.md )
4
4
[ ![ LICENSE] ( https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square )] ( ./LICENSE )
5
- [ ![ codecov] ( https://codecov.io/gh/Islandora/Alpaca/branch/master/graph /badge.svg )] ( https://codecov.io/gh/Islandora/Alpaca )
5
+ [ ![ codecov] ( https://codecov.io/gh/Islandora/Alpaca/branch/master/graphs /badge.svg )] ( https://codecov.io/gh/Islandora/Alpaca )
6
6
7
7
## Introduction
8
8
You can’t perform that action at this time.
0 commit comments