Skip to content

Merge pull request #27 from Protonull/better-loadconfig #16

Merge pull request #27 from Protonull/better-loadconfig

Merge pull request #27 from Protonull/better-loadconfig #16

Workflow file for this run

name: "CivModern Latest Gradle CI"
on:
push:
branches:
- "master"
workflow_dispatch: {}
permissions:
contents: write
jobs:
release:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: "Set up JDK 21"
uses: "actions/setup-java@v3"
with:
java-version: 21
distribution: "corretto"
cache: "gradle"
- name: "Compiling CivModern"
run: "./gradlew build"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Latest Build"
files: |
LICENSE.txt
dist/*.jar