mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-09-20 03:31:18 +02:00
Update Gradle's cache list, Use "Artifacts" for ZIP.
This commit is contained in:
parent
1bfa8d41bd
commit
15ca031125
10
.github/workflows/gradle.yml
vendored
10
.github/workflows/gradle.yml
vendored
@ -15,14 +15,16 @@ jobs:
|
|||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/
|
path: |
|
||||||
key: ${{ runner.os }}-build-aspirin-${{ hashFiles('**/build.gradle.kts') }}
|
~/.gradle/caches
|
||||||
|
~/.gradle/wrapper
|
||||||
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-build-aspirin-
|
${{ runner.os }}-gradle-
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: artifact
|
name: Artifacts
|
||||||
path: build/libs/
|
path: build/libs/
|
||||||
|
Loading…
Reference in New Issue
Block a user