Actually change the tla version number when we update it #65
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
gradle: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Commit | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Fetch Tags | |
run: git fetch --unshallow --tags -f | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 21 | |
- name: Prepare Datagen | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
arguments: rundatagen | |
- name: Publish Modrinth Jar | |
env: | |
MODRINTH_KEY: ${{ secrets.MODRINTH_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
arguments: modrinth |