Skip to content

Commit 88e95fd

Browse files
committed
Update CI configuration to current practices
1 parent 6e2f96a commit 88e95fd

File tree

5 files changed

+9
-26
lines changed

5 files changed

+9
-26
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: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- master
77
tags:
88
- "*-[0-9]+.*"
9+
pull_request:
10+
branches:
11+
- master
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Build Status](https://github.com/scijava/scijava-ui-awt/actions/workflows/build.yml/badge.svg)](https://github.com/scijava/scijava-ui-awt/actions/workflows/build.yml)
2+
13
[![](https://github.com/scijava/scijava-ui-awt/actions/workflows/build-main.yml/badge.svg)](https://github.com/scijava/scijava-ui-awt/actions/workflows/build-main.yml)
24

35
SciJava AWT UI components

0 commit comments

Comments
 (0)