Skip to content

ci(1.8.9-1.10-forge): 为 gradle 分配更高内存 #11

ci(1.8.9-1.10-forge): 为 gradle 分配更高内存

ci(1.8.9-1.10-forge): 为 gradle 分配更高内存 #11

Workflow file for this run

name: "Release"
on:
push:
tags:
- "v*"
jobs:
release:
name: "Release"
runs-on: "ubuntu-latest"
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: 8
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle Wrapper
run: |
cd 1.8.9-1.10-forge/
chmod +x gradlew
./gradlew setupDecompWorkspace
./gradlew build
env:
GITHUB_USERNAME: ${{ secrets.GH_PKG_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v2
with:
files: 1.8.9-1.10-forge/build/libs/*.jar