Add auto build workflow (#1)

* Add epic new workflow

* Ignore repo files in output

* Hopefully reduce double zipping

* I guess double zipping is inevitable
This commit is contained in:
Spencer
2023-12-19 05:03:48 -05:00
committed by GitHub
parent 82187b695e
commit cee30799dd
5 changed files with 121 additions and 84 deletions

30
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: build-modpack
on: [push]
jobs:
build-pack:
name: Use packwiz to build the curseforge pack
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Go environment
uses: actions/setup-go@v5.0.0
with:
go-version: '>=1.19.0'
- name: Install Packwiz
run: |
go install github.com/packwiz/packwiz@latest
- name: Build pack
run: packwiz curseforge export
- name: Upload pack to actions
uses: actions/upload-artifact@v3
with:
path: GregTech CEu Modern Community Pack-*.zip