Skip to content

Commit 9e3d803

Browse files
committed
CI: update to current best practices
1 parent 180e0f9 commit 9e3d803

File tree

6 files changed

+11
-28
lines changed

6 files changed

+11
-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.
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: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
[![](https://github.com/imglib/imglib-tests/actions/workflows/build-main.yml/badge.svg)](https://github.com/imglib/imglib-tests/actions/workflows/build-main.yml)
2-
1+
[![Build Status](https://github.com/imglib/imglib2-tests/actions/workflows/build.yml/badge.svg)](https://github.com/imglib/imglib2-tests/actions/workflows/build.yml)

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ Aivar Grislis, Jonathan Hale, Grant Harris, Stefan Helfrich, Mark Hiner,
5757
Martin Horn, Steffen Jaensch, Lee Kamentsky, Larry Lindsey, Melissa Linkert,
5858
Mark Longair, Brian Northan, Nick Perry, Curtis Rueden, Johannes Schindelin,
5959
Jean-Yves Tinevez and Michael Zinsmaier.</license.copyrightOwners>
60+
61+
<!-- NB: Deploy releases to the SciJava Maven repository. -->
62+
<releaseProfiles>sign,deploy-to-scijava</releaseProfiles>
6063
</properties>
6164

6265
<scm>

0 commit comments

Comments
 (0)