File tree 5 files changed +10
-53
lines changed
5 files changed +10
-53
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
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
- master
7
7
tags :
8
8
- " *-[0-9]+.*"
9
+ pull_request :
10
+ branches :
11
+ - master
9
12
10
13
jobs :
11
14
build :
12
15
runs-on : ubuntu-latest
13
16
14
17
steps :
15
18
- 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
30
- uses : actions/setup-java@v2
19
+ - name : Set up Java
20
+ uses : actions/setup-java@v3
31
21
with :
32
22
java-version : ' 8'
33
23
distribution : ' zulu'
24
+ cache : ' maven'
34
25
- name : Set up CI environment
35
26
run : .github/setup.sh
36
27
- name : Execute the build
40
31
GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
41
32
MAVEN_USER : ${{ secrets.MAVEN_USER }}
42
33
MAVEN_PASS : ${{ secrets.MAVEN_PASS }}
34
+ OSSRH_USER : ${{ secrets.OSSRH_USER }}
43
35
OSSRH_PASS : ${{ secrets.OSSRH_PASS }}
44
36
SIGNING_ASC : ${{ secrets.SIGNING_ASC }}
Original file line number Diff line number Diff line change 1
- [ ![ ] ( https://github.com/scijava/scijava-listeners/actions/workflows/build-main .yml/badge.svg )] ( https://github.com/scijava/scijava-listeners/actions/workflows/build-main .yml )
1
+ [ ![ Build Status ] ( https://github.com/scijava/scijava-listeners/actions/workflows/build.yml/badge.svg )] ( https://github.com/scijava/scijava-listeners/actions/workflows/build.yml )
2
2
3
3
# scijava-listeners
4
4
You can’t perform that action at this time.
0 commit comments