Skip to content

LambdaBetterGrass v1.5.2+1.20.1 #7

LambdaBetterGrass v1.5.2+1.20.1

LambdaBetterGrass v1.5.2+1.20.1 #7

Workflow file for this run

name: Release
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build modrinth curseforge --parallel --stacktrace
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
- name: Synchronize Mod description
uses: gradle/gradle-build-action@v2
with:
arguments: modrinthSyncBody --stacktrace
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
- uses: actions/upload-artifact@v3
with:
name: Artifacts
path: ./build/libs/