Skip to content

Commit d6918c0

Browse files
committed
Update CI to current standards; rename main branch
1 parent 40cb95d commit d6918c0

File tree

5 files changed

+9
-28
lines changed

5 files changed

+9
-28
lines changed

.github/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
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
33
sh ci-build.sh

.github/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
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
33
sh ci-setup-github-actions.sh

.github/workflows/build-pr.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/build-main.yml renamed to .github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ name: build
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
tags:
88
- "*-[0-9]+.*"
9+
pull_request:
10+
branches:
11+
- main
912

1013
jobs:
1114
build:
@@ -28,5 +31,6 @@ jobs:
2831
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
2932
MAVEN_USER: ${{ secrets.MAVEN_USER }}
3033
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
31-
OSSRH_PASS: ${{ secrets.OSSRH_PASS }}
34+
CENTRAL_USER: ${{ secrets.CENTRAL_USER }}
35+
CENTRAL_PASS: ${{ secrets.CENTRAL_PASS }}
3236
SIGNING_ASC: ${{ secrets.SIGNING_ASC }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![](https://github.com/scijava/scripting-java/actions/workflows/build-main.yml/badge.svg)](https://github.com/scijava/scripting-java/actions/workflows/build-main.yml)
1+
[![](https://github.com/scijava/scripting-java/actions/workflows/build.yml/badge.svg)](https://github.com/scijava/scripting-java/actions/workflows/build.yml)
22

33
# Java Scripting
44

0 commit comments

Comments
 (0)