File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 mvn help:evaluate -Dexpression=project.version -q -DforceStdout
7676
7777 - name : Build without tests
78- run : mvn clean compile -DskipTests=true -DskipChecks=true
78+ run : mvn clean package -DskipTests=true -DskipChecks=true
7979
8080 - name : Deploy to Maven Central
8181 if : ${{ github.event.inputs.dryrun != 'true' }}
8888 # Fail fast: If this step fails, no git operations will occur
8989 mvn -DskipTests=true -DskipChecks=true -DperformRelease=true clean deploy
9090
91- - name : Target Folder
92- if : always() # execute even if deploy fails
93- run : find . -type f
94-
95- - name : Upload build artifacts
96- if : always() # execute even if deploy fails
97- uses : actions/upload-artifact@v4
98- with :
99- name : release-artifacts-${{ github.event.inputs.release_version }}
100- path : |
101- **/target/*.jar
102- **/target/*.pom
103- retention-days : 30
104-
10591 - name : Trigger Central Publisher Portal Upload
10692 if : ${{ github.event.inputs.dryrun != 'true' }}
10793 env :
@@ -238,6 +224,20 @@ jobs:
238224 ```
239225 draft : false
240226 prerelease : false
227+
228+ - name : Target Folder
229+ if : always() # execute even if deploy fails
230+ run : find . -type f
231+
232+ - name : Upload build artifacts
233+ if : always() # execute even if deploy fails
234+ uses : actions/upload-artifact@v4
235+ with :
236+ name : release-artifacts-${{ github.event.inputs.release_version }}
237+ path : |
238+ **/target/*.jar
239+ **/target/*.pom
240+ retention-days : 30
241241
242242 check-central-deployment :
243243 if : ${{ github.event.inputs.dryrun != 'true' }}
You can’t perform that action at this time.
0 commit comments