Publish 1.21 Version #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated workflow by task | |
name: Publish 1.21 Version | |
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 1.21 Mod Version | |
run: ./gradlew chiseledBuildAndCollect+1.21 chiseledPublish+1.21 | |
env: | |
CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }} | |
MODRINTH_API_KEY: ${{ secrets.MODRINTH_API_KEY }} |