Skip to content

Commit 91423e0

Browse files
committed
POM: update parent to pom-scijava 45.1.0
And keep CI aligned with current practices.
1 parent bda8981 commit 91423e0

5 files changed

Lines changed: 43 additions & 4 deletions

File tree

‎.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.yml‎

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- "*-[0-9]+.*"
9+
pull_request:
10+
branches:
11+
- main
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v6
19+
- name: Set up Java
20+
uses: actions/setup-java@v5
21+
with:
22+
java-version: '8'
23+
distribution: 'zulu'
24+
cache: 'maven'
25+
- name: Set up CI environment
26+
run: .github/setup.sh
27+
shell: bash
28+
- name: Execute the build
29+
run: .github/build.sh
30+
shell: bash
31+
env:
32+
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }}
33+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
34+
MAVEN_USER: ${{ secrets.MAVEN_USER }}
35+
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
36+
CENTRAL_USER: ${{ secrets.CENTRAL_USER }}
37+
CENTRAL_PASS: ${{ secrets.CENTRAL_PASS }}
38+
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/scijava-ui-swing/actions/workflows/build-main.yml/badge.svg)](https://github.com/scijava/scijava-ui-swing/actions/workflows/build-main.yml)
1+
[![Build Status](https://github.com/scijava/scijava-ui-swing/actions/workflows/build.yml/badge.svg)](https://github.com/scijava/scijava-ui-swing/actions/workflows/build.yml)
22

33
SciJava Swing UI components
44
---------------------------

‎pom.xml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.scijava</groupId>
77
<artifactId>pom-scijava</artifactId>
8-
<version>43.0.0</version>
8+
<version>45.1.0</version>
99
<relativePath />
1010
</parent>
1111

@@ -102,6 +102,7 @@
102102
</ciManagement>
103103

104104
<properties>
105+
<scijava.jvm.version>8</scijava.jvm.version>
105106
<package-name>org.scijava.ui.swing</package-name>
106107
<license.licenseName>bsd_2</license.licenseName>
107108
<license.copyrightOwners>SciJava developers.</license.copyrightOwners>

0 commit comments

Comments
 (0)