1
0

fuck the cache, it didnt wanna work properly anyways
Some checks failed
Build & Publish / build (push) Failing after 3m53s

This commit is contained in:
Jannik Reimers 2025-01-05 21:14:59 +01:00
parent 2c36e0c3b5
commit 9228529f18

View File

@ -33,30 +33,12 @@ jobs:
id: date id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')" run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Gradle Cache
uses: actions/cache/restore@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-Feixiao
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission for gradlew - name: Grant execute permission for gradlew
run: chmod +x gradlew run: chmod +x gradlew
- name: Gradle (Build) - name: Gradle (Build)
run: "./gradlew build" run: "./gradlew build"
- name: Gradle Cache
uses: actions/cache/save@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-Feixiao
- name: Login to Gitea Registry - name: Login to Gitea Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
@ -73,3 +55,9 @@ jobs:
- name: Push the latest Docker image - name: Push the latest Docker image
run: docker push pi5:8125/jansel/feixiao:latest run: docker push pi5:8125/jansel/feixiao:latest
- name: Remove the Docker image
run: docker rmi pi5:8125/jansel/feixiao:${{ steps.date.outputs.date }}
- name: Force remove the latest Docker image
run: docker rmi pi5:8125/jansel/feixiao:latest --force