Skip to content

Merge pull request #223 from railcraft-reborn/l10n_crowdin_translations #19

Merge pull request #223 from railcraft-reborn/l10n_crowdin_translations

Merge pull request #223 from railcraft-reborn/l10n_crowdin_translations #19

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
env:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: '0'
fetch-tags: true
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17
- name: Validate wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: wrapper
cache-read-only: false
- name: Build
run: ./gradlew build
- name: Test
run: ./gradlew runGameTestServer
- name: Make Changelog
run: ./gradlew makeChangelog
- name: Publish
run: ./gradlew publishMods