mirror of
https://github.com/barkeser2002/Not-Enough-Crashes.git
synced 2026-09-25 09:26:03 +03:00
* Bring additions from my fork over to main. Adds a couple of additional features and goodies from my fork over to this. It aint much, but I think it should help this mod a bit. * Update fabric/src/main/resources/fabric.mod.json Suggestion Merge Co-authored-by: Fudge <natan.lifsiz@gmail.com> * Update quilt.mod.json * Update fabric/src/main/resources/quilt.mod.json Fix this up then Co-authored-by: Fudge <natan.lifsiz@gmail.com> * Maybe fixes extra logger. * Github Actions, based on C+ Action Script For my ease of use. * Bye linux. :( People are gonna hate me for this one. Co-authored-by: Fudge <natan.lifsiz@gmail.com>
31 lines
828 B
YAML
31 lines
828 B
YAML
# Based on Consistency+ Actions Script
|
|
|
|
name: Build NotEnoughCrashes
|
|
on: [ pull_request, push ]
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
java: [ 16 ]
|
|
os: [windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: 1 - Checkout repository
|
|
uses: actions/checkout@v2
|
|
- name: 2 - Validate Gradle wrapper
|
|
uses: gradle/wrapper-validation-action@v1
|
|
- name: 3 - Set up JDK ${{ matrix.java }}
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: adopt
|
|
java-version: ${{ matrix.java }}
|
|
- name: 4 - Build
|
|
run: ./gradlew build
|
|
- name: 5 - Capture & upload build artifacts
|
|
if: ${{ runner.os == 'windows-latest' }}
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Artifacts
|
|
path: build/libs/
|