Skip to content

Powah! version 6.0.6-beta for NeoForge 1.21 #46

Powah! version 6.0.6-beta for NeoForge 1.21

Powah! version 6.0.6-beta for NeoForge 1.21 #46

Workflow file for this run

name: 'Release'
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: ${{ github.ref != 'refs/heads/1.21' }}
- name: Build with Gradle
env:
POWAH_VERSION: ${{ github.event.release.tag_name }}
run: ./gradlew build
- name: Upload to Curseforge
env:
POWAH_VERSION: ${{ github.event.release.tag_name }}
CHANGELOG: ${{ github.event.release.body }}
CF_TOKEN: ${{ secrets.CURSEFORGE_API_KEY }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_API_KEY }}
run: ./gradlew :publishUnified