mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-02-04 22:02:01 +01:00
GitHub Actions: Upload unsigned and signed jars as build artifacts
This commit is contained in:
parent
3e94aa3f78
commit
0891be3166
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -39,6 +39,12 @@ jobs:
|
|||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B -Duser.name="GitHub Actions on $GITHUB_REPOSITORY (id=$GITHUB_RUN_ID)" -DskipTests clean package
|
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
|
- name: Sign jar archives
|
||||||
uses: craftaro/GH-Commons/.github/actions/sign_jars@master
|
uses: craftaro/GH-Commons/.github/actions/sign_jars@master
|
||||||
with:
|
with:
|
||||||
@ -50,13 +56,7 @@ jobs:
|
|||||||
- name: Upload Build Artifacts
|
- name: Upload Build Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ github.event.repository.name }}
|
name: ${{ github.event.repository.name }}-Signed
|
||||||
path: ${{ env.DEPLOYMENT_ARTIFACT_DIR }}/${{ env.DEPLOYMENT_ARTIFACT_SELECTOR }}
|
|
||||||
|
|
||||||
- name: Upload Build Artifacts
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: ${{ github.event.repository.name }}
|
|
||||||
path: ${{ env.DEPLOYMENT_ARTIFACT_DIR }}/${{ env.DEPLOYMENT_ARTIFACT_SELECTOR }}
|
path: ${{ env.DEPLOYMENT_ARTIFACT_DIR }}/${{ env.DEPLOYMENT_ARTIFACT_SELECTOR }}
|
||||||
|
|
||||||
- name: Deploy to Maven repo
|
- name: Deploy to Maven repo
|
||||||
|
Loading…
Reference in New Issue
Block a user