Skip to content

Sodium 0.5.11 for Minecraft 1.21 #4

Sodium 0.5.11 for Minecraft 1.21

Sodium 0.5.11 for Minecraft 1.21 #4

Workflow file for this run

# Used when a release is pushed to GitHub
# This does not make use of any caching as to ensure a clean build
name: build-release
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Build artifacts
run: ./gradlew build -Pbuild.release=true
- name: Upload assets to GitHub
uses: AButler/[email protected]
with:
# Filter built files to disregard -sources and -dev, and leave only the minecraft-compatible jars.
files: 'build/libs/*[0-9].jar;LICENSE'
repo-token: ${{ secrets.GITHUB_TOKEN }}