Skip to content

FabricAutoCrafter 1.0.14 for 1.20.5/6 #14

FabricAutoCrafter 1.0.14 for 1.20.5/6

FabricAutoCrafter 1.0.14 for 1.20.5/6 #14

Workflow file for this run

name: Publish release
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Build and publish with Gradle
run: ./gradlew modrinth publish
env:
BUILD_RELEASE: ${{github.event.prelease == false}}
MODRINTH_TOKEN: ${{secrets.MODRINTH}}
CHANGELOG: ${{ github.event.release.body }}
- name: Upload build artifacts
uses: AButler/[email protected]
with:
files: 'build/libs/*;!build/libs/*-sources.jar;!build/libs/*-dev.jar'
repo-token: ${{secrets.GITHUB_TOKEN}}