Archive workflow artifacts

Dieser Commit ist enthalten in:
NotMyFault 2021-07-28 15:04:49 +02:00 committet von GitHub
Ursprung 69067fe8c8
Commit 17019ac723
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -8,6 +8,15 @@ jobs:
steps: steps:
- name: "Checkout Repository" - name: "Checkout Repository"
uses: "actions/checkout@v2.3.4" uses: "actions/checkout@v2.3.4"
- name: "Grab SHA"
uses: "benjlevesque/short-sha@v1.2"
id: "short-sha"
with:
length: "7"
- name: "Echo SHA"
run: "echo $SHA"
env:
SHA: "${{ steps.short-sha.outputs.sha }}"
- name: "Setup JDK 16" - name: "Setup JDK 16"
uses: "actions/setup-java@v2.1.0" uses: "actions/setup-java@v2.1.0"
with: with:
@ -15,3 +24,8 @@ jobs:
java-version: "16" java-version: "16"
- name: "Clean Build" - name: "Clean Build"
run: "./gradlew clean build -x test" run: "./gradlew clean build -x test"
- name: Archive Artifacts
uses: actions/upload-artifact@v2
with:
name: FastAsyncWorldEdit-Bukkit-1.17-${{ env.SHA }}
path: worldedit-bukkit/build/libs/FastAsyncWorldEdit-Bukkit-1.17-${{ env.SHA }}.jar