Merge pull request #195 from LegacyGamerHD/patch-1

Archive all artifacts when building pull requests
This commit is contained in:
Redned 2020-03-05 07:55:18 -06:00 committed by GitHub
commit 3863cdb58f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,9 +23,33 @@ jobs:
uses: snickerbockers/submodules-init@v4 uses: snickerbockers/submodules-init@v4
- name: Build with Maven - name: Build with Maven
run: mvn -B package run: mvn -B package
- name: Archive artifacts - name: Archive artifacts (Geyser Standalone)
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
if: success() if: success()
with: with:
name: Geyser name: Geyser Standalone
path: bootstrap/standalone/target/Geyser.jar path: bootstrap/standalone/target/Geyser.jar
- name: Archive artifacts (Geyser Bukkit)
uses: actions/upload-artifact@v1
if: success()
with:
name: Geyser Bukkit
path: bootstrap/bukkit/target/Geyser-Bukkit.jar
- name: Archive artifacts (Geyser BungeeCord)
uses: actions/upload-artifact@v1
if: success()
with:
name: Geyser BungeeCord
path: bootstrap/bungeecord/target/Geyser-BungeeCord.jar
- name: Archive artifacts (Geyser Sponge)
uses: actions/upload-artifact@v1
if: success()
with:
name: Geyser Sponge
path: bootstrap/sponge/target/Geyser-Sponge.jar
- name: Archive artifacts (Geyser Velocity)
uses: actions/upload-artifact@v1
if: success()
with:
name: Geyser Velocity
path: bootstrap/velocity/target/Geyser-Velocity.jar