Update flamecord-build.yml

Re-added artifact upload, added Java 11 and changed the name
This commit is contained in:
samupro-dev 2022-03-08 22:07:49 +01:00 committed by GitHub
parent 19033561bb
commit 162b87322c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
# each push to the branch master to check its correct
# compilation and will deliver an artifact to check
# if the change is working properly.
name: FlameCord Maven Build
name: FlameCord Build (master)
on: [push]
@ -15,7 +15,7 @@ jobs:
# latest version up to the moment.
strategy:
matrix:
java: [8, 17]
java: [8, 11, 17]
steps:
- name: Checkout Repository
@ -41,3 +41,10 @@ jobs:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
scripts/build.sh --jar
# An artifact is generated in a compressed file according to each JDK build version.
- name: Upload FlameCord
uses: actions/upload-artifact@v2
with:
name: FlameCord-JDK${{ matrix.java }}
path: FlameCord-Proxy/bootstrap/target/FlameCord.jar