Update CI
This commit is contained in:
parent
4229eaf62c
commit
d59772a89e
6
.github/workflows/gradle.yml
vendored
6
.github/workflows/gradle.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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/*.*
|
||||
|
|
Loading…
Reference in New Issue
Block a user