File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh
2- curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/travis -build.sh
3- sh travis -build.sh
2+ curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/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/master/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+ - master
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v2
14+
15+ - name : Cache m2 folder
16+ uses : actions/cache@v2
17+ env :
18+ cache-name : cache-m2
19+ with :
20+ path : ~/.m2/repository
21+ key : ${{ runner.os }}-build-${{ env.cache-name }}
22+ restore-keys : |
23+ ${{ runner.os }}-build-${{ env.cache-name }}-
24+ ${{ runner.os }}-build-
25+ ${{ runner.os }}-
26+
27+ - name : Set up JDK 8
28+ uses : actions/setup-java@v2
29+ with :
30+ java-version : ' 8'
31+ distribution : ' zulu'
32+ - name : Set up CI environment
33+ run : .github/setup.sh
34+ - name : Execute the build
35+ run : .github/build.sh
36+ env :
37+ GPG_KEY_NAME : ${{ secrets.GPG_KEY_NAME }}
38+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
39+ MAVEN_USER : ${{ secrets.MAVEN_USER }}
40+ MAVEN_PASS : ${{ secrets.MAVEN_PASS }}
41+ OSSRH_PASS : ${{ secrets.OSSRH_PASS }}
42+ SIGNING_ASC : ${{ secrets.SIGNING_ASC }}
Original file line number Diff line number Diff line change 1+ name : build PR
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v2
14+
15+ - name : Cache m2 folder
16+ uses : actions/cache@v2
17+ env :
18+ cache-name : cache-m2
19+ with :
20+ path : ~/.m2/repository
21+ key : ${{ runner.os }}-build-${{ env.cache-name }}
22+ restore-keys : |
23+ ${{ runner.os }}-build-${{ env.cache-name }}-
24+ ${{ runner.os }}-build-
25+ ${{ runner.os }}-
26+
27+ - name : Set up JDK 8
28+ uses : actions/setup-java@v2
29+ with :
30+ java-version : ' 8'
31+ distribution : ' zulu'
32+ - name : Set up CI environment
33+ run : .github/setup.sh
34+ - name : Execute the build
35+ run : .github/build.sh
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# batch-processor
2- [ ![ Build Status] ( https://travis-ci.org /scijava/batch-processor. svg?branch=master )] ( https://travis-ci.org /scijava/batch-processor )
2+ [ ![ Build Status] ( https://github.com /scijava/batch-processor/actions/workflows/build-main.yml/badge. svg )] ( https://github.com /scijava/batch-processor/actions/workflows/build-main.yml )
33[ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/6315ca3348cf4d30820e84b1636470e9 )] ( https://www.codacy.com/app/imagejan/batch-processor?utm_source=github.com& ; utm_medium=referral& ; utm_content=fmi-faim/batch-processor& ; utm_campaign=Badge_Grade )
44
55A Batch Processor for SciJava
Original file line number Diff line number Diff line change 7171 <url >https://github.com/scijava/batch-processor/issues</url >
7272 </issueManagement >
7373 <ciManagement >
74- <system >Travis CI </system >
75- <url >https://travis-ci.org /scijava/batch-processor</url >
74+ <system >GitHub Actions </system >
75+ <url >https://github.com /scijava/batch-processor/actions </url >
7676 </ciManagement >
7777
7878 <properties >
8686 <scijava-common .version>2.80.1</scijava-common .version>
8787
8888 <!-- NB: Deploy releases to the SciJava Maven repository. -->
89- <releaseProfiles >deploy-to-scijava</releaseProfiles >
89+ <releaseProfiles >sign, deploy-to-scijava</releaseProfiles >
9090 </properties >
9191
9292 <dependencies >
You can’t perform that action at this time.
0 commit comments