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 /ci-build.sh
2+ curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/main /ci-build.sh
33sh ci-build.sh
Original file line number Diff line number Diff line change 11#! /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
33sh ci-setup-github-actions.sh
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,30 +3,36 @@ name: build
33on :
44 push :
55 branches :
6- - master
6+ - main
77 tags :
88 - " *-[0-9]+.*"
9+ pull_request :
10+ branches :
11+ - main
912
1013jobs :
1114 build :
1215 runs-on : ubuntu-latest
1316
1417 steps :
15- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1619 - name : Set up Java
17- uses : actions/setup-java@v3
20+ uses : actions/setup-java@v4
1821 with :
1922 java-version : ' 8'
2023 distribution : ' zulu'
2124 cache : ' maven'
2225 - name : Set up CI environment
2326 run : .github/setup.sh
27+ shell : bash
2428 - name : Execute the build
2529 run : .github/build.sh
30+ shell : bash
2631 env :
2732 GPG_KEY_NAME : ${{ secrets.GPG_KEY_NAME }}
2833 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
2934 MAVEN_USER : ${{ secrets.MAVEN_USER }}
3035 MAVEN_PASS : ${{ secrets.MAVEN_PASS }}
31- OSSRH_PASS : ${{ secrets.OSSRH_PASS }}
36+ CENTRAL_USER : ${{ secrets.CENTRAL_USER }}
37+ CENTRAL_PASS : ${{ secrets.CENTRAL_PASS }}
3238 SIGNING_ASC : ${{ secrets.SIGNING_ASC }}
Original file line number Diff line number Diff line change 1- [ ![ ] ( https://github.com/scijava/scijava-optional/actions/workflows/build-main .yml/badge.svg )] ( https://github.com/scijava/scijava-optional/actions/workflows/build-main .yml )
1+ [ ![ Build Status ] ( https://github.com/scijava/scijava-optional/actions/workflows/build.yml/badge.svg )] ( https://github.com/scijava/scijava-optional/actions/workflows/build.yml )
22
33# scijava-optional
44
You can’t perform that action at this time.
0 commit comments