Update workflow file
This commit is contained in:
parent
ac3d2b8632
commit
908701152e
@ -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/**
|
||||
|
Loading…
Reference in New Issue
Block a user