mirror of
https://github.com/PaperMC/Waterfall.git
synced 2024-11-18 16:25:14 +01:00
Update flamecord-pull-request.yml
Re-added artifact upload, added Java 11 and changed the name
This commit is contained in:
parent
162b87322c
commit
064269e98c
11
.github/workflows/flamecord-pull-request.yml
vendored
11
.github/workflows/flamecord-pull-request.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user