File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22curl -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 11#! /bin/sh
22curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/ci-setup-github-actions.sh
33sh 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 11name : build
22
33on :
4- pull_request :
5- branches :
6- - master
74 push :
85 branches :
96 - master
107 tags :
118 - " *-[0-9]+.*"
9+ pull_request :
10+ branches :
11+ - master
1212
1313jobs :
1414 build :
2828 cache : ' maven'
2929 - name : Set up CI environment
3030 run : .github/setup.sh
31+ shell : bash
3132 - name : Execute the build
3233 run : .github/build.sh
3334 shell : bash
You can’t perform that action at this time.
0 commit comments