File tree 3 files changed +12
-5
lines changed
3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/ci-build.sh
3
- # NB: Only the Linux CI node should deploy build artifacts.
4
- NO_DEPLOY=$( test " $( uname) " = Linux || echo 1) sh ci-build.sh
3
+ sh ci-build.sh
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/ci-setup-github-actions.sh
3
3
sh ci-setup-github-actions.sh
4
+
5
+ # Let the Linux build handle artifact deployment.
6
+ if [ " $( uname) " != Linux ]
7
+ then
8
+ echo " No deploy -- non-Linux build"
9
+ echo " NO_DEPLOY=1" >> $GITHUB_ENV
10
+ fi
Original file line number Diff line number Diff line change 1
1
name : build
2
2
3
3
on :
4
- pull_request :
5
- branches :
6
- - master
7
4
push :
8
5
branches :
9
6
- master
10
7
tags :
11
8
- " *-[0-9]+.*"
9
+ pull_request :
10
+ branches :
11
+ - master
12
12
13
13
jobs :
14
14
build :
28
28
cache : ' maven'
29
29
- name : Set up CI environment
30
30
run : .github/setup.sh
31
+ shell : bash
31
32
- name : Execute the build
32
33
run : .github/build.sh
33
34
shell : bash
You can’t perform that action at this time.
0 commit comments