From 908701152e172eec3be08d9ce7d0c65394948d9b Mon Sep 17 00:00:00 2001 From: BitHeaven Date: Tue, 21 Jan 2025 03:24:20 +0500 Subject: [PATCH] Update workflow file --- .gitea/workflows/build.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 8bf10ba..01ed7d3 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -20,15 +20,15 @@ jobs: distribution: 'liberica' java-version: ${{ matrix.java }} - - name: Cache Gradle packages - uses: actions/cache@v4 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-gradle- +# - name: Cache Gradle packages +# uses: actions/cache@v4 +# with: +# path: | +# ~/.gradle/caches +# ~/.gradle/wrapper +# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} +# restore-keys: | +# ${{ runner.os }}-gradle- - name: Build with Gradle run: ./gradlew build @@ -48,12 +48,16 @@ jobs: with: name: create-air-fabric + - name: Extract files + run: unzip create-air-fabric.zip + - name: Make release uses: akkuman/gitea-release-action@v1 with: name: Create Air Fabric 1.0-${{ gitea.run_number }} for 1.20.1 + tag_name: createairfabric-1.0+1.20.1-${{ gitea.run_number }} md5sum: true sha256sum: true files: |- - fabric-mod.jar + *.jar # build/libs/**