File tree Expand file tree Collapse file tree 4 files changed +44
-0
lines changed
Expand file tree Collapse file tree 4 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/main/ci-build.sh
3+ sh ci-build.sh
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/main/ci-setup-github-actions.sh
3+ sh ci-setup-github-actions.sh
Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ tags :
8+ - " *-[0-9]+.*"
9+ pull_request :
10+ branches :
11+ - main
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : Set up Java
20+ uses : actions/setup-java@v3
21+ with :
22+ java-version : ' 11'
23+ distribution : ' zulu'
24+ cache : ' maven'
25+ - name : Set up CI environment
26+ run : .github/setup.sh
27+ - name : Execute the build
28+ run : .github/build.sh
29+ env :
30+ GPG_KEY_NAME : ${{ secrets.GPG_KEY_NAME }}
31+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
32+ MAVEN_USER : ${{ secrets.MAVEN_USER }}
33+ MAVEN_PASS : ${{ secrets.MAVEN_PASS }}
34+ OSSRH_USER : ${{ secrets.OSSRH_USER }}
35+ OSSRH_PASS : ${{ secrets.OSSRH_PASS }}
36+ SIGNING_ASC : ${{ secrets.SIGNING_ASC }}
Original file line number Diff line number Diff line change 1+ [ ![ Build Status] ( https://github.com/scijava/scijava-links/actions/workflows/build.yml/badge.svg )] ( https://github.com/scijava/scijava-links/actions/workflows/build.yml )
2+
You can’t perform that action at this time.
0 commit comments