5.3.0-beta.3 #24
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: Automatically publish to Modrinth and CurseForge | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish-to-curseforge: | |
if: github.repository_owner == 'Fabulously-Optimized' | |
runs-on: ubuntu-22.04 | |
environment: github-actions | |
steps: | |
- name: Download the pack files | |
uses: robinraju/[email protected] | |
id: download-files | |
with: | |
fileName: "*.zip" | |
latest: true | |
tarBall: false | |
zipBall: false | |
- name: Publish to CurseForge | |
uses: Kir-Antipov/[email protected] | |
with: | |
name: ${{ steps.download-files.outputs.tag_name }} for ${{ vars.MC_VERSION }} | |
curseforge-id: 396246 | |
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | |
curseforge-files: '*.zip' | |
loaders: fabric | |
game-versions: ${{ vars.MC_VERSION }} | |
publish-to-modrinth: | |
if: github.repository_owner == 'Fabulously-Optimized' | |
runs-on: ubuntu-22.04 | |
environment: github-actions | |
steps: | |
- name: Download the pack files | |
uses: robinraju/[email protected] | |
id: download-files | |
with: | |
fileName: "*.mrpack" | |
latest: true | |
tarBall: false | |
zipBall: false | |
- name: Publish to Modrinth | |
uses: Kir-Antipov/[email protected] | |
with: | |
name: ${{ steps.download-files.outputs.tag_name }} for ${{ vars.MC_VERSION }} | |
modrinth-id: 1KVo5zza | |
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | |
modrinth-unfeature-mode: subset | |
files: '*.mrpack' | |
loaders: fabric | |
game-versions: ${{ vars.MC_VERSION }} |