Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.19' into 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
nthxny committed Jul 4, 2023
2 parents fe7b55a + 0ba1f41 commit 4030974
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-gradle

name: Gradle Package

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- { uses: actions/checkout@v2, with: { fetch-depth: 0 } }
- name: "Set up JDK 17"
uses: actions/setup-java@v2
with: { distribution: "adopt", java-version: "17" }

- name: "Build with Gradle"
id: build
run: "chmod +x gradlew && ./gradlew build publish"

- uses: Kir-Antipov/mc-publish@v3.3
with:
curseforge-id: 538560
curseforge-token: ${{ secrets.CF_API_TOKEN }}
loaders: |
forge
game-versions: |
1.19.2
java: |
17

0 comments on commit 4030974

Please sign in to comment.