Skip to content

Commit d33e203

Browse files
committed
CI: update to current best practices
1 parent a6df4ad commit d33e203

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/imglib2-tutorials/actions/workflows/build-main.yml/badge.svg)](https://github.com/imglib/imglib2-tutorials/actions/workflows/build-main.yml)
2-
1+
[![Build Status](https://github.com/imglib/imglib2-tutorials/actions/workflows/build.yml/badge.svg)](https://github.com/imglib/imglib2-tutorials/actions/workflows/build.yml)

pom.xml

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

125128
<repositories>

0 commit comments

Comments
 (0)