Skip to content

Powah! version 5.1.0-alpha for NeoForge 1.20.2 #32

Powah! version 5.1.0-alpha for NeoForge 1.20.2

Powah! version 5.1.0-alpha for NeoForge 1.20.2 #32

Workflow file for this run

name: 'Release'
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '17'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
- 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