Skip to content

Architecture Extensions v3.5.1 #37

Architecture Extensions v3.5.1

Architecture Extensions v3.5.1 #37

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}}