Update workflow file
Some checks failed
build / upload-release (push) Has been cancelled
build / build (21) (push) Has been cancelled

This commit is contained in:
BitHeaven 2025-01-21 03:24:20 +05:00
parent ac3d2b8632
commit 908701152e

View File

@ -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/**