Skip to content

Merge branch 'main' into mixin #2

Merge branch 'main' into mixin

Merge branch 'main' into mixin #2

name: Releases to CurseForge and/or Modrinth

Check failure on line 1 in .github/workflows/release-to-cf-mr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-to-cf-mr.yml

Invalid workflow file

(Line: 38, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'c@v3.3.0'
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: '25'
distribution: 'temurin'
- uses: gradle/actions/setup-gradle@v6
with:
gradle-version: 9.4.1
name: Set up Gradle
- name: Add permission
run: chmod +x ./gradlew
- name: Execute Gradle build
run: ./gradlew build
- name: Get Changes between Tags
id: changes
uses: simbo/changes-between-tags-action@v1
- uses: c@v3.3.0
with:
# Only include this section if you wish to publish
# your assets on Modrinth.
modrinth-id: placeholder
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
# Only include this section if you wish to publish
# your assets on CurseForge.
curseforge-id: placeholder
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
files: |
build/libs/!(*-@(dev|sources|javadoc)).jar
build/libs/*-@(dev|sources|javadoc).jar
loaders: forge
game-versions: 1.12.2
java: |
25
version: ${{ steps.changes.outputs.tag }}
changelog: ${{ steps.changes.outputs.changes }}