GitHub Actions: Upload unsigned and signed jars as build artifacts

This commit is contained in:
Christian Koop 2023-08-16 20:14:12 +02:00
parent 3e94aa3f78
commit 0891be3166
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3
1 changed files with 7 additions and 7 deletions

View File

@ -39,6 +39,12 @@ jobs:
- name: Build with Maven
run: mvn -B -Duser.name="GitHub Actions on $GITHUB_REPOSITORY (id=$GITHUB_RUN_ID)" -DskipTests clean package
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}
path: ${{ env.DEPLOYMENT_ARTIFACT_DIR }}/${{ env.DEPLOYMENT_ARTIFACT_SELECTOR }}
- name: Sign jar archives
uses: craftaro/GH-Commons/.github/actions/sign_jars@master
with:
@ -50,13 +56,7 @@ jobs:
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}
path: ${{ env.DEPLOYMENT_ARTIFACT_DIR }}/${{ env.DEPLOYMENT_ARTIFACT_SELECTOR }}
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}
name: ${{ github.event.repository.name }}-Signed
path: ${{ env.DEPLOYMENT_ARTIFACT_DIR }}/${{ env.DEPLOYMENT_ARTIFACT_SELECTOR }}
- name: Deploy to Maven repo