Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PanSzelescik authored Jun 14, 2024
1 parent c07e7e4 commit d05c55e
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,52 +19,52 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
arguments: build
- name: Publish Forge to CurseForge and Modrinth
uses: Kir-Antipov/mc-publish@v3.3
with:
modrinth-id: 4sQDl6he
modrinth-featured: true
modrinth-unfeature-mode: intersection
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}

curseforge-id: 658780
curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }}

files: |
forge/build/libs/!(*-@(dev|dev-shadow|sources|javadoc)).jar
forge/build/libs/*-@(dev|dev-shadow|sources|javadoc).jar
name: ""
version-type: release

dependencies: |
jei(optional){modrinth:jei}{curseforge:238222}
rei(optional){modrinth:rei}{curseforge:310111}
# - name: Publish Forge to CurseForge and Modrinth
# uses: Kir-Antipov/mc-publish@v3.3
# with:
# modrinth-id: 4sQDl6he
# modrinth-featured: true
# modrinth-unfeature-mode: intersection
# modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
#
# curseforge-id: 658780
# curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }}
#
# files: |
# forge/build/libs/!(*-@(dev|dev-shadow|sources|javadoc)).jar
# forge/build/libs/*-@(dev|dev-shadow|sources|javadoc).jar

loaders: |
forge
modrinth-game-versions: |
1.21
curseforge-game-versions: |
1.21
java: |
21
# name: ""
# version-type: release
#
# dependencies: |
# jei(optional){modrinth:jei}{curseforge:238222}
# rei(optional){modrinth:rei}{curseforge:310111}

retry-attempts: 2
retry-delay: 10000
fail-mode: fail
# loaders: |
# forge
# modrinth-game-versions: |
# 1.21
# curseforge-game-versions: |
# 1.21
# java: |
# 21
#
# retry-attempts: 2
# retry-delay: 10000
# fail-mode: fail
- name: Publish NeoForge to CurseForge and Modrinth
uses: Kir-Antipov/mc-publish@v3.3
with:
Expand Down

0 comments on commit d05c55e

Please sign in to comment.