modpack-template/.github/workflows/build.yml
merith-tk 3878f7d12a
Some checks failed
Build Project / build (push) Failing after 20s
use temurin
2024-10-09 12:58:55 -07:00

37 lines
No EOL
865 B
YAML

name: Build Project
on:
push:
branches:
- main # Change this to your preferred branch
pull_request:
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 BusyBox and 7z
run: |
sudo apt-get update
sudo apt-get install -y busybox p7zip-full
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '1.20' # Specify the Go version you need
- name: Update Packwiz
run: make update-packwiz
- name: Make Modpack
run: make preClean multimc curseforge modrinth postClean