This commit is contained in:
parent
3b292d6ddd
commit
8b49b19b1a
1 changed files with 16 additions and 1 deletions
15
.github/workflows/root.yml
vendored
15
.github/workflows/root.yml
vendored
|
@ -26,6 +26,14 @@ jobs:
|
|||
java-version: 21
|
||||
distribution: temurin
|
||||
|
||||
- name: "Restore Cache"
|
||||
id: restore-cache
|
||||
uses: https://data.forgejo.org/actions/cache/restore@v4
|
||||
|
||||
with:
|
||||
path: "~/.gradle/caches,~/.gradle/wrapper,~/.m2/repository"
|
||||
key: gradle-store
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
|
@ -55,3 +63,10 @@ jobs:
|
|||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: registry.digitalocean.com/jansel/feixiao:latest,registry.digitalocean.com/jansel/feixiao:${{ steps.date.outputs.date }}
|
||||
|
||||
- name: "Save Cache"
|
||||
uses: https://data.forgejo.org/actions/cache/save@v4
|
||||
|
||||
with:
|
||||
path: ~/.gradle/caches,~/.gradle/wrapper,~/.m2/repository
|
||||
key: ${{ steps.restore-cache.outputs.cache-primary-key }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue