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' distribution: 'liberica'
java-version: ${{ matrix.java }} java-version: ${{ matrix.java }}
- name: Cache Gradle packages # - name: Cache Gradle packages
uses: actions/cache@v4 # uses: actions/cache@v4
with: # with:
path: | # path: |
~/.gradle/caches # ~/.gradle/caches
~/.gradle/wrapper # ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} # key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: | # restore-keys: |
${{ runner.os }}-gradle- # ${{ runner.os }}-gradle-
- name: Build with Gradle - name: Build with Gradle
run: ./gradlew build run: ./gradlew build
@ -48,12 +48,16 @@ jobs:
with: with:
name: create-air-fabric name: create-air-fabric
- name: Extract files
run: unzip create-air-fabric.zip
- name: Make release - name: Make release
uses: akkuman/gitea-release-action@v1 uses: akkuman/gitea-release-action@v1
with: with:
name: Create Air Fabric 1.0-${{ gitea.run_number }} for 1.20.1 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 md5sum: true
sha256sum: true sha256sum: true
files: |- files: |-
fabric-mod.jar *.jar
# build/libs/** # build/libs/**