Skip to content

Commit 05148cb

Browse files
committed
feat: add pack workflow
1 parent adf3d6a commit 05148cb

3 files changed

Lines changed: 34 additions & 374 deletions

File tree

.github/workflows/pack.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: pack
2+
on: [push]
3+
4+
jobs:
5+
build:
6+
strategy:
7+
matrix:
8+
os: [macos-latest]
9+
runs-on: ${{ matrix.os }}
10+
steps:
11+
- name: checkout repository
12+
uses: actions/checkout@v4
13+
14+
- name: make packwiz executable
15+
run: chmod +x ./packwiz-macos
16+
17+
- name: export modrinth
18+
run: |
19+
./packwiz-macos mr export
20+
./packwiz-macos cf export
21+
22+
- name: capture export artifacts - modrinth
23+
uses: actions/upload-artifact@v4
24+
with:
25+
name: Artifacts-Modrinth
26+
path: ./**.mrpack
27+
28+
- name: capture export artifacts - curseforge
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: Artifacts-CurseForge
32+
path: ./**.zip

0 commit comments

Comments
 (0)