Skip to content

Commit

Permalink
Testing Build 18
Browse files Browse the repository at this point in the history
  • Loading branch information
ExtremeMakerX committed Jun 23, 2024
1 parent 3c3e87d commit c7ae2e6
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,36 @@

name: Build
on: [pull_request, push]

jobs:
build:
strategy:
fail-fast: false
matrix:
loader: [ fabric, forge, common ]
#runs-on: self-hosted
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v2
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 17
distribution: 'temurin'
- name: Make gradle wrapper executable
run: chmod +x ./gradlew
- name: Build ${{ matrix.loader }}
run: ./gradlew ${{ matrix.loader }}:build ${{ matrix.loader }}:jar
- name: Capture release artifacts
if: matrix.loader != 'common'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v2
with:
name: Fabric and Forge
path: build/release
path: build/release/
- name: Capture lib artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v2
with:
name: Libraries
path: build/libs
path: build/libs/

0 comments on commit c7ae2e6

Please sign in to comment.