Skip to content

1.19-v3.2 - Anniversary Update III #35

1.19-v3.2 - Anniversary Update III

1.19-v3.2 - Anniversary Update III #35

Workflow file for this run

name: release
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get Release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{github.token}}
- name: JDK 17
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 17
- name: Cache
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{runner.os}}-gradle-${{hashFiles('build.gradle')}}
- name: Gradle Build
run: ./gradlew -Pversion=${{steps.get_release.outputs.tag_name}} build
- name: Publish
uses: Kir-Antipov/[email protected]
with:
curseforge-id: 476728
curseforge-token: ${{secrets.CURSEFORGE_API_KEY}}
modrinth-id: G6bswYcv
modrinth-token: ${{secrets.MODRINTH_API_KEY}}
github-token: ${{github.token}}
java: 17