BaseModpack

This commit is contained in:
merith-tk 2024-11-05 14:52:30 -08:00 committed by Merith-TK
commit f582e41432
67 changed files with 2099 additions and 0 deletions

39
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,39 @@
name: Build Modpack
on:
pull_request:
push:
branches:
- main # Change this to your preferred branch
tags-ignore:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '16' # Change to '8' for Java 8
- name: Install 7z
run: |
sudo apt-get update
sudo apt-get install -y p7zip-full
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '1.23'
- name: Update Packwiz
run: make update-packwiz
- name: Make Modpack
run: make preClean multimc curseforge modrinth postClean

46
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,46 @@
name: Release Modpack
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '16' # Change to '8' for Java 8
- name: Install 7z
run: |
sudo apt-get update
sudo apt-get install -y p7zip-full
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '1.23'
- name: Update Packwiz
run: make update-packwiz
- name: Make Modpack
run: make preClean multimc curseforge modrinth postClean
- name: Make Modlist
run: make release-file
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: ".build/*"
allowUpdates: true
bodyFile: ".build/CHANGELOG.md"