Release Fabric #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
name: Release Fabric | |
on: [workflow_dispatch] | |
jobs: | |
releaseFabric: | |
runs-on: ubuntu-latest | |
container: | |
image: openjdk:21-jdk | |
options: --user root | |
steps: | |
- uses: actions/[email protected] | |
- run: | | |
chmod +x ./gradlew | |
./gradlew build fabricPublish --stacktrace | |
env: | |
CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GH_API_KEY }} | |
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} |