Skip to content

Merge pull request #32 from OneLiteFeatherNET/feature/drop-1_20-suppo… #31

Merge pull request #32 from OneLiteFeatherNET/feature/drop-1_20-suppo…

Merge pull request #32 from OneLiteFeatherNET/feature/drop-1_20-suppo… #31

Workflow file for this run

name: Publish
on:
push:
branches:
- master
- develop
jobs:
build:
# Run on all label events (won't be duplicated) or all push events or on PR syncs not from the same repo
if: github.repository_owner == 'OneLiteFeatherNET'
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
cache: gradle
java-version: 21
- name: Publish
env:
HANGAR_SECRET: ${{secrets.HANGAR_KEY}}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_KEY }}
run: ./gradlew build modrinth publishAllPublicationsToHangar --stacktrace