-
Notifications
You must be signed in to change notification settings - Fork 5
34 lines (27 loc) · 957 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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