Update CI

This commit is contained in:
IzzelAliz 2020-05-25 12:33:39 +08:00
parent 4229eaf62c
commit d59772a89e
2 changed files with 6 additions and 3 deletions

View File

@ -39,8 +39,10 @@ jobs:
run: yes | rm -rf ./arclight-coremod/build/libs
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew idea build --no-daemon -i
- name: Setup workspace
run: ./gradlew idea remapSpigotJar --no-daemon -i
- name: Build
run: ./gradlew build --no-daemon -i
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:

View File

@ -8,7 +8,8 @@ cache:
build_script:
- cmd: |
IF EXIST arclight-coremod\build\libs ( del /S /Q arclight-coremod\build\libs )
gradlew idea build --no-daemon -i
gradlew idea remapSpigotJar --no-daemon -i
gradlew build --no-daemon -i
test: off
artifacts:
- path: ./arclight-coremod/build/libs/*.*