diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5378fe0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* -text \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..55f82eb --- /dev/null +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file diff --git a/.packwizignore b/.packwizignore new file mode 100644 index 0000000..dc5639e --- /dev/null +++ b/.packwizignore @@ -0,0 +1,2 @@ +.github/* +README.md \ No newline at end of file diff --git a/README.md b/README.md index 1888bc3..f6e50b7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Repository for the Modern fork of the GregTech Community Modpack - a minecraft m ## Playing -The modpack should - eventually - be available on Curseforge. +The modpack is available on [Curseforge](https://legacy.curseforge.com/minecraft/modpacks/gregtech-community-pack-modern). ## Building