Skip to content

Commit 05ac6dd

Browse files
authored
Merge pull request #15 from spt-development/feature/spring-boot-3.0.5-upgrade
Updated dependencies to align with Spring Boot 3.0.5, updated git hub…
2 parents 1353512 + f82d764 commit 05ac6dd

File tree

4 files changed

+15
-39
lines changed

4 files changed

+15
-39
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v3
1111

12-
- name: Set up JDK 19
12+
- name: Set up JDK 20
1313
uses: oracle-actions/setup-java@v1
1414
with:
1515
website: jdk.java.net
16-
release: 19
16+
release: 20
1717

1818
- name: Build with Maven
1919
run: mvn clean install -B
@@ -29,11 +29,11 @@ jobs:
2929
steps:
3030
- uses: actions/checkout@v3
3131

32-
- name: Set up JDK 19
32+
- name: Set up JDK 20
3333
uses: oracle-actions/setup-java@v1
3434
with:
3535
website: jdk.java.net
36-
release: 19
36+
release: 20
3737

3838
- name: Determine version
3939
run: echo "POM_VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec | sed -e 's/-SNAPSHOT//')" >> $GITHUB_ENV
@@ -61,33 +61,9 @@ jobs:
6161

6262
- name: Create GitHub release
6363
id: create_release
64-
uses: actions/create-release@v1
65-
env:
66-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67-
with:
68-
tag_name: ${{ env.POM_VERSION }}
69-
release_name: ${{ env.POM_VERSION }}
70-
draft: false
71-
prerelease: false
72-
73-
- name: Upload GitHub release asset
74-
id: upload-release-asset
75-
uses: actions/upload-release-asset@v1
76-
env:
77-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78-
with:
79-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
80-
asset_path: spt-development-cid-web-spring-boot-autoconfigure/target/spt-development-cid-web-spring-boot-autoconfigure-${{ env.POM_VERSION }}.jar
81-
asset_name: spt-development-cid-web-spring-boot-autoconfigure-${{ env.POM_VERSION }}.jar
82-
asset_content_type: application/java-archive
83-
84-
- name: Upload GitHub release asset
85-
id: upload-release-asset-2
86-
uses: actions/upload-release-asset@v1
87-
env:
88-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
uses: ncipollo/release-action@v1
8965
with:
90-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
91-
asset_path: spt-development-cid-web-spring-boot-starter/target/spt-development-cid-web-spring-boot-starter-${{ env.POM_VERSION }}.jar
92-
asset_name: spt-development-cid-web-spring-boot-starter-${{ env.POM_VERSION }}.jar
93-
asset_content_type: application/java-archive
66+
token: ${{ secrets.GITHUB_TOKEN }}
67+
tag: ${{ env.POM_VERSION }}
68+
artifacts: spt-development-cid-web-spring-boot-autoconfigure/target/spt-development-cid-web-spring-boot-autoconfigure-${{ env.POM_VERSION }}.jar,spt-development-cid-web-spring-boot-starter/target/spt-development-cid-web-spring-boot-starter-${{ env.POM_VERSION }}.jar
69+
artifactContentType: application/java-archive

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>com.spt-development</groupId>
55
<artifactId>spt-development-cid-web-spring-boot</artifactId>
6-
<version>3.0.4-SNAPSHOT</version>
6+
<version>3.0.5-SNAPSHOT</version>
77

88
<name>cid-web-spring-boot</name>
99
<description>Library for integrating spt-development/spt-development-cid-web into a Spring Boot application.</description>
@@ -37,9 +37,9 @@
3737
<maven.compiler.release>17</maven.compiler.release>
3838

3939
<!-- Dependency versions -->
40-
<spring-boot.version>3.0.3</spring-boot.version>
40+
<spring-boot.version>3.0.5</spring-boot.version>
4141
<spt-cid.version>2.0.11</spt-cid.version>
42-
<spt-cid-web.version>2.0.7</spt-cid-web.version>
42+
<spt-cid-web.version>2.0.8</spt-cid-web.version>
4343

4444
<!-- Plugin versions -->
4545
<checkstyle-maven-plugin.version>3.1.2</checkstyle-maven-plugin.version>
@@ -60,7 +60,7 @@
6060
<versions-maven-plugin.version>2.8.1</versions-maven-plugin.version>
6161

6262
<!-- Plugin dependencies -->
63-
<asm.version>9.3</asm.version>
63+
<asm.version>9.5</asm.version>
6464
<checkstyle.version>9.0.1</checkstyle.version>
6565
<maven-dependency-analyzer.version>1.12.0</maven-dependency-analyzer.version>
6666
<pitest-junit5-plugin.version>0.15</pitest-junit5-plugin.version>

spt-development-cid-web-spring-boot-autoconfigure/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.spt-development</groupId>
77
<artifactId>spt-development-cid-web-spring-boot</artifactId>
8-
<version>3.0.4-SNAPSHOT</version>
8+
<version>3.0.5-SNAPSHOT</version>
99
</parent>
1010

1111
<artifactId>spt-development-cid-web-spring-boot-autoconfigure</artifactId>

spt-development-cid-web-spring-boot-starter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.spt-development</groupId>
77
<artifactId>spt-development-cid-web-spring-boot</artifactId>
8-
<version>3.0.4-SNAPSHOT</version>
8+
<version>3.0.5-SNAPSHOT</version>
99
</parent>
1010

1111
<artifactId>spt-development-cid-web-spring-boot-starter</artifactId>

0 commit comments

Comments
 (0)