generated from MrSphay/codex-agent-repository-kit
32 lines
608 B
YAML
32 lines
608 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: '21'
|
|
|
|
- name: Build
|
|
run: ./gradlew build --stacktrace --no-configuration-cache
|
|
|
|
- name: Upload mod jar
|
|
uses: actions/upload-artifact@v3
|
|
if: always()
|
|
with:
|
|
name: explosionoverhaul-neoforge-build
|
|
path: |
|
|
build/libs/**
|