Skip to content

update gradle wrapper #19

update gradle wrapper

update gradle wrapper #19

Workflow file for this run

name: Build Status
on:
push:
paths-ignore:
- '.github/**'
branches:
- '*'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
distribution: 'microsoft'
java-version: 17
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload build artifacts (Common)
continue-on-error: true
uses: actions/upload-artifact@v6
with:
name: ${{ github.event.repository.name }}-Common-${{ github.sha }}
path: |
Common/build/libs/*.jar
- name: Upload build artifacts (Forge)
continue-on-error: true
uses: actions/upload-artifact@v6
with:
name: ${{ github.event.repository.name }}-Forge-${{ github.sha }}
path: |
Forge/build/libs/*.jar
!Forge/build/libs/*-dev.jar
- name: Upload build artifacts (Fabric)
continue-on-error: true
uses: actions/upload-artifact@v6
with:
name: ${{ github.event.repository.name }}-Fabric-${{ github.sha }}
path: |
Fabric/build/libs/*.jar