File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 24
24
- name : Before build actions
25
25
run : ./dev/before
26
26
- name : Build
27
+ env :
28
+ OPENGROK_REPO_SLUG : ${{ github.repository }}
29
+ OPENGROK_REF : ${{ github.ref }}
27
30
run : ./dev/main
28
31
macos :
29
32
name : macOS with Java 11
46
49
- name : Before build actions
47
50
run : ./dev/before
48
51
- name : Build
52
+ env :
53
+ OPENGROK_REPO_SLUG : ${{ github.repository }}
54
+ OPENGROK_REF : ${{ github.ref }}
49
55
run : ./dev/main
50
56
windows :
51
57
name : Windows with Java 11
Original file line number Diff line number Diff line change 5
5
# for their fork. Avoid it also for release builds as that can fail such
6
6
# build unnecessarily.
7
7
#
8
+
9
+ if [[ -n $OPENGROK_REF && $OPENGROK_REF == refs/heads/* ]]; then
10
+ OPENGROK_BRANCH=${OPENGROK_REF# " refs/heads/" }
11
+ fi
12
+
8
13
extra_args=" "
9
- if [[ " x$TRAVIS_REPO_SLUG " == " xoracle/opengrok" && " x$TRAVIS_BRANCH " == " xmaster" ]]; then
14
+ if [[ " x$OPENGROK_REPO_SLUG " == " xoracle/opengrok" && " x$OPENGROK_BRANCH " == " xmaster" ]]; then
10
15
echo " Enabling Coveralls"
11
16
extra_args=" jacoco:report coveralls:report"
12
17
You can’t perform that action at this time.
0 commit comments