Reese's Sodium Options 1.8.0 #113
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: Publish Release | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
build: | |
if: github.repository_owner == 'FlashyReese' | |
runs-on: self-hosted | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v2 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
check-latest: true | |
- name: Upload assets to releases | |
run: ./gradlew build publishAllPublicationsToFlashyReeseReleasesRepository -Pbuild.release | |
env: | |
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} | |
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} | |
- name: Publish Fabric to Modrinth, CurseForge & GitHub | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: Bh37bMuy | |
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | |
curseforge-id: 511319 | |
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
name: '[Fabric] ${{ github.event.release.name }}' | |
version: '${{ github.event.release.tag_name }}+fabric' | |
version-type: release | |
loaders: fabric | |
dependencies: | | |
sodium | |
sodium-extra(optional) | |
irisshaders(optional) | |
iris(optional) | |
files: | | |
fabric/build/libs/!(*-@(dev|sources|javadoc|dev-shadow)).jar | |
fabric/build/libs/*-@(dev|sources|javadoc|dev-shadow).jar | |
- name: Publish NeoForge to Modrinth, CurseForge & GitHub | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: Bh37bMuy | |
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | |
curseforge-id: 511319 | |
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
name: '[NeoForge] ${{ github.event.release.name }}' | |
version: '${{ github.event.release.tag_name }}+neoforge' | |
version-type: release | |
loaders: neoforge | |
dependencies: | | |
sodium | |
sodium-extra(optional) | |
irisshaders(optional) | |
iris(optional) | |
files: | | |
neoforge/build/libs/!(*-@(dev|sources|javadoc|dev-shadow)).jar | |
neoforge/build/libs/*-@(dev|sources|javadoc|dev-shadow).jar |