Skip to content

Publish Specific Versions #4

Publish Specific Versions

Publish Specific Versions #4

name: Publish Specific Versions
on: [workflow_dispatch] # Manual trigger
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-22.04
container:
image: mcr.microsoft.com/openjdk/jdk:21-ubuntu
options: --user root
steps:
- uses: actions/checkout@v4
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: Publish mods
run: ./gradlew chiseledBuildAndCollectAll chiseledPublishSpecified
env:
CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
MODRINTH_API_KEY: ${{ secrets.MODRINTH_API_KEY }}