Update flamecord-pull-request.yml

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

View File

@ -1,7 +1,7 @@
# This workflow will perform a compilation test on each
# pull request to check its correct compilation and will deliver
# an artifact to check if the change is working properly.
name: FlameCord Pull Request
name: FlameCord Build (pull request)
on: [pull_request]
@ -14,7 +14,7 @@ jobs:
# latest version up to the moment.
strategy:
matrix:
java: [8, 17]
java: [8, 11, 17]
steps:
- name: Checkout Repository
@ -40,3 +40,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