Iris 1.6.17 for Minecraft 1.20.4 #138
Workflow file for this run
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: build-release | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Cache Brachyura directory | |
uses: actions/cache@v2 | |
with: | |
path: | | |
.brachyura | |
~/.brachyura | |
key: ${{ runner.os }}-brachyura-${{ hashFiles('**/Buildscript.java') }} | |
restore-keys: ${{ runner.os }}-brachyura | |
- name: Build with Brachyura | |
run: java -Diris.release=true -jar brachyura-bootstrap-0.jar build | |
- name: Upload artifacts to Modrinth and GitHub | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: YL57xq9U | |
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | |
modrinth-featured: false | |
curseforge-id: 455508 | |
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
files: build/libs/!(*-@(dev|sources|all)).jar | |
version-type: release | |
loaders: fabric quilt | |
dependencies: sodium | |
version-resolver: latest # Defaults to selecting the latest compatible version of Minecraft, using the tag from the fabric.mod.json |