Skip to content

Release

Release #6

Workflow file for this run

name: Release
on: [workflow_dispatch]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.1"
check-latest: true
cache: false # Not a go project, we abuse this to install packwiz
- name: Install Packwiz
run: go install github.com/packwiz/packwiz@latest
- name: Export Prism Pack
run: ./scripts/prism.sh
- name: Upload To Modrinth
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
run: ./scripts/upload.sh
- name: Capture Prism Pack & .mrpack
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: output