2020-02-26 17:29:12 +01:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-03-21 17:32:08 +01:00
|
|
|
- name: Set up JDK 11
|
|
|
|
uses: actions/setup-java@v1.3.0
|
|
|
|
with:
|
|
|
|
java-version: 11
|
2020-02-26 17:29:12 +01:00
|
|
|
- name: Build YAPFA
|
|
|
|
run: |
|
|
|
|
git submodule init
|
2020-03-21 17:29:35 +01:00
|
|
|
git submodule update --init --recursive
|
2020-02-26 17:40:00 +01:00
|
|
|
git config --global user.email "ci@github.com"
|
|
|
|
git config --global user.name "Github CI"
|
2020-03-21 17:29:35 +01:00
|
|
|
yapfaDir=`pwd`
|
2020-03-22 20:44:02 +01:00
|
|
|
./patchPaper.sh
|
2020-03-21 17:29:35 +01:00
|
|
|
cd Tuinity
|
|
|
|
./tuinity jar
|
|
|
|
cd $yapfaDir
|
2020-02-26 17:29:12 +01:00
|
|
|
./yapfa patch
|
|
|
|
./yapfa build
|
2020-03-22 17:20:21 +01:00
|
|
|
./yapfa paperclip
|
|
|
|
- name: Upload Artifact
|
|
|
|
uses: actions/upload-artifact@v2-preview
|
|
|
|
with:
|
|
|
|
name: YAPFA
|
|
|
|
path: yapfa-paperclip.jar
|