Skip to content

Commit

Permalink
bleh
Browse files Browse the repository at this point in the history
  • Loading branch information
seymourimadeit committed Jul 11, 2024
1 parent 3cdedf4 commit 4c24655
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/publish-modrinth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build

on: [ workflow_dispatch ]
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1000
fetch-tags: true

- name: Setup JDK 21
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'temurin'

- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: build
gradle-version: current

- name: mc-publish
uses: Kir-Antipov/[email protected]
with:
modrinth-id: iRE67WIn
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
files-primary: build/libs/!(*-@(javadoc|sources)).jar
version: release
loaders: neoforge
game-versions: 1.21
java: 21
name: ""
changelog-file: changelog-1.21.*

0 comments on commit 4c24655

Please sign in to comment.