Skip to content

Commit 4f9b7a8

Browse files
committed
Split jobs
1 parent bd218cd commit 4f9b7a8

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/maven-publish.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Maven Package
66
on: [push]
77

88
jobs:
9-
build:
9+
build-central:
1010

1111
runs-on: ubuntu-latest
1212
permissions:
@@ -29,6 +29,16 @@ jobs:
2929
env:
3030
MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
3131
MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
32+
33+
build-github:
34+
35+
runs-on: ubuntu-latest
36+
permissions:
37+
contents: read
38+
packages: write
39+
40+
steps:
41+
- uses: actions/checkout@v5
3242
- name: Set up Java for publishing to GitHub Packages
3343
uses: actions/setup-java@v5
3444
with:

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<dependency>
8585
<groupId>org.junit.jupiter</groupId>
8686
<artifactId>junit-jupiter-engine</artifactId>
87-
<version>5.9.2</version>
87+
<version>5.13.4</version>
8888
<scope>test</scope>
8989
</dependency>
9090
</dependencies>
@@ -133,9 +133,9 @@
133133
</profiles>
134134

135135
<properties>
136-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
137136
<maven.compiler.source>1.8</maven.compiler.source>
138137
<maven.compiler.target>1.8</maven.compiler.target>
138+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
139139
</properties>
140140

141141
<scm>

0 commit comments

Comments
 (0)