Skip to content

Commit a82ace7

Browse files
authored
Merge pull request #13 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 abf3ab8 + 302a73b commit a82ace7

File tree

2 files changed

+14
-27
lines changed

2 files changed

+14
-27
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 22 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,22 +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 }}
64+
uses: ncipollo/release-action@v1
7865
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: target/spt-development-logging-spring-${{ env.POM_VERSION }}.jar
81-
asset_name: spt-development-logging-spring-${{ env.POM_VERSION }}.jar
82-
asset_content_type: application/java-archive
66+
token: ${{ secrets.GITHUB_TOKEN }}
67+
tag: ${{ env.POM_VERSION }}
68+
artifacts: target/spt-development-logging-spring-${{ env.POM_VERSION }}.jar
69+
artifactContentType: application/java-archive

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@
3636

3737
<!-- Dependency versions, matched to Spring Boot -->
3838
<aspectj.version>1.9.19</aspectj.version>
39-
<slf4j.version>2.0.6</slf4j.version>
40-
<spring.version>6.0.5</spring.version>
39+
<slf4j.version>2.0.7</slf4j.version>
40+
<spring.version>6.0.7</spring.version>
4141

4242
<!-- Test dependency versions -->
43-
<spt-development-test>3.0.3</spt-development-test>
43+
<spt-development-test>3.0.4</spt-development-test>
4444

4545
<!-- Test dependency versions, matched to Spring Boot -->
4646
<hamcrest.version>2.2</hamcrest.version>
4747
<junit-jupiter.version>5.9.2</junit-jupiter.version>
48-
<logback.version>1.4.5</logback.version>
48+
<logback.version>1.4.6</logback.version>
4949
<mockito.version>4.8.1</mockito.version>
5050

5151
<!-- Plugin versions -->
@@ -66,7 +66,7 @@
6666
<versions-maven-plugin.version>2.8.1</versions-maven-plugin.version>
6767

6868
<!-- Plugin dependencies -->
69-
<asm.version>9.3</asm.version>
69+
<asm.version>9.5</asm.version>
7070
<checkstyle.version>9.0.1</checkstyle.version>
7171
<maven-dependency-analyzer.version>1.12.0</maven-dependency-analyzer.version>
7272
</properties>

0 commit comments

Comments
 (0)