Refresh dependencies when building (#271)
This commit is contained in:
parent
b6a8366963
commit
5d65f21170
2
.github/workflows/gradle.yml
vendored
2
.github/workflows/gradle.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
./gradlew cleanBuild remapSpigotJar idea --no-daemon -i --stacktrace
|
./gradlew cleanBuild remapSpigotJar idea --no-daemon -i --stacktrace --refresh-dependencies
|
||||||
./gradlew build collect --no-daemon -i --stacktrace
|
./gradlew build collect --no-daemon -i --stacktrace
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
|
@ -9,7 +9,7 @@ cache:
|
||||||
- ./.gradle
|
- ./.gradle
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: |
|
- cmd: |
|
||||||
gradlew cleanBuild idea remapSpigotJar --no-daemon -i --stacktrace
|
gradlew cleanBuild idea remapSpigotJar --no-daemon -i --stacktrace --refresh-dependencies
|
||||||
gradlew build --no-daemon -i --stacktrace
|
gradlew build --no-daemon -i --stacktrace
|
||||||
rem Due to a MixinGradle bug, we need to build it twice
|
rem Due to a MixinGradle bug, we need to build it twice
|
||||||
gradlew build collect --no-daemon -i --stacktrace
|
gradlew build collect --no-daemon -i --stacktrace
|
||||||
|
|
Loading…
Reference in New Issue
Block a user