Build modpack with Packwiz #1
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: Build with Packwiz | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install nix | |
uses: cachix/install-nix-action@v22 | |
- name: Build Modrinth Modpack | |
run: | | |
nix develop --command packwiz modrinth export | |
shell: bash | |
- name: Build CurseForge Modpack | |
run: | | |
nix develop --command packwiz curseforge export | |
shell: bash | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Modrinth Pack | |
path: | | |
*.mrpack | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: CurseForge Pack | |
path: | | |
*.zip |