Skip to content

Commit af8390b

Browse files
package
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
1 parent 5b8a636 commit af8390b

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
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' }}
@@ -88,20 +88,6 @@ jobs:
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' }}

0 commit comments

Comments
 (0)