File tree 5 files changed +8
-30
lines changed
5 files changed +8
-30
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master /ci-build.sh
2
+ curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/main /ci-build.sh
3
3
sh ci-build.sh
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master /ci-setup-github-actions.sh
2
+ curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/main /ci-setup-github-actions.sh
3
3
sh ci-setup-github-actions.sh
Original file line number Diff line number Diff line change @@ -13,24 +13,12 @@ jobs:
13
13
14
14
steps :
15
15
- uses : actions/checkout@v2
16
-
17
- - name : Cache m2 folder
18
- uses : actions/cache@v2
19
- env :
20
- cache-name : cache-m2
21
- with :
22
- path : ~/.m2/repository
23
- key : ${{ runner.os }}-build-${{ env.cache-name }}
24
- restore-keys : |
25
- ${{ runner.os }}-build-${{ env.cache-name }}-
26
- ${{ runner.os }}-build-
27
- ${{ runner.os }}-
28
-
29
- - name : Set up JDK 8
16
+ - name : Set up Java
30
17
uses : actions/setup-java@v2
31
18
with :
32
19
java-version : ' 8'
33
20
distribution : ' zulu'
21
+ cache : ' maven'
34
22
- name : Set up CI environment
35
23
run : .github/setup.sh
36
24
- name : Execute the build
Original file line number Diff line number Diff line change @@ -11,24 +11,12 @@ jobs:
11
11
12
12
steps :
13
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
14
+ - name : Set up Java
28
15
uses : actions/setup-java@v2
29
16
with :
30
17
java-version : ' 8'
31
18
distribution : ' zulu'
19
+ cache : ' maven'
32
20
- name : Set up CI environment
33
21
run : .github/setup.sh
34
22
- name : Execute the build
Original file line number Diff line number Diff line change
1
+ [ ![ ] ( https://github.com/imagej/ImageJ/actions/workflows/build-main.yml/badge.svg )] ( https://github.com/imagej/ImageJ/actions/workflows/build-main.yml )
2
+
1
3
# ImageJ
2
4
3
5
ImageJ is [ public domain] software for processing and analyzing scientific
You can’t perform that action at this time.
0 commit comments