Skip to content

Commit

Permalink
Archive build artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Castle <[email protected]>
  • Loading branch information
Kas-tle committed Sep 24, 2023
1 parent 45453cb commit 09f7963
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,27 @@ jobs:
arguments: build
cache-read-only: ${{ github.ref_name != 'master' && github.ref_name != 'development' }}

- name: Archive artifacts (Floodgate Bungee)
uses: actions/upload-artifact@v2
if: success()
with:
name: Floodgate Bungee
path: bungee/build/libs/floodgate-bungee.jar

- name: Archive artifacts (Floodgate Spigot)
uses: actions/upload-artifact@v2
if: success()
with:
name: Floodgate Spigot
path: spigot/build/libs/floodgate-spigot.jar

- name: Archive artifacts (Floodgate Velocity)
uses: actions/upload-artifact@v2
if: success()
with:
name: Floodgate Velocity
path: velocity/build/libs/floodgate-velocity.jar

- name: Publish to Maven Repository
if: ${{ github.repository == 'GeyserMC/Floodgate' }}
uses: gradle/gradle-build-action@v2
Expand Down

0 comments on commit 09f7963

Please sign in to comment.