Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyblitz committed Aug 16, 2024
1 parent 02c8462 commit 057a0e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Maven Build
name: Maven Build - Spring Boot 3+

on:
push:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Maven Publish
name: Maven Publish - Spring Boot 3+

on:
push:
branches: [ 'release' ]
workflow_dispatch:
inputs:
revision:
description: 'The version to publish'
description: 'The version to publish for Spring Boot 3+ and JDK 17+'
required: true
default: '2.0.0-SNAPSHOT'

Expand All @@ -29,7 +29,7 @@ jobs:
- name: Setup Maven Central Repository
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
server-id: ossrh
server-username: MAVEN_USERNAME
Expand All @@ -41,7 +41,6 @@ jobs:
--batch-mode
--update-snapshots
--file pom.xml
-Drevision=0.0.1-SNAPSHOT
-DargLine="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED"
-Drevision=${{ inputs.revision }}
-Dgpg.skip=true
Expand Down

0 comments on commit 057a0e2

Please sign in to comment.