Skip to content

Architecture Extensions v3.4.3 #34

Architecture Extensions v3.4.3

Architecture Extensions v3.4.3 #34

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/upload-release-assets@v2.0
with:
files: 'build/libs/*; build/libs/*-sources.jar; !build/libs/*-dev.jar'
repo-token: ${{secrets.GITHUB_TOKEN}}