Skip to content

Build 7.0.1

Build 7.0.1 #89

Workflow file for this run

name: Build and publish as artifact
on:
push:
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 21
distribution: 'temurin'
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Run tests
run: ./gradlew common:test --rerun-tasks
- name: Build
run: ./gradlew build
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: |
NeoForge/build/libs/ferritecore-*-neoforge.jar
Fabric/build/libs/ferritecore-*-fabric.jar