Update Gradle's cache list, Use "Artifacts" for ZIP.

This commit is contained in:
Kichura 2024-01-19 23:35:55 +01:00 committed by GitHub
parent 1bfa8d41bd
commit 15ca031125
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,14 +15,16 @@ jobs:
- name: Cache Dependencies
uses: actions/cache@v4
with:
path: ~/.gradle/
key: ${{ runner.os }}-build-aspirin-${{ hashFiles('**/build.gradle.kts') }}
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-build-aspirin-
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew build
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: artifact
name: Artifacts
path: build/libs/