Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Jan 3, 2024
1 parent 6fe097d commit bc8a544
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
40 changes: 40 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

name: Build mod jar

on:
[workflow_dispatch]

permissions:
contents: read

jobs:
build:

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: gradle/[email protected]
with:
gradle-version: 8.5
name: Set up Gradle
- name: Add permission
run: chmod +x ./gradlew
- name: Execute Gradle build
run: ./gradlew build

- name: Upload a Build Artifact
uses: actions/[email protected]
with:
path: build/libs
1 change: 0 additions & 1 deletion src/main/java/com/cleanroommc/LateMixinLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import zone.rong.mixinbooter.ILateMixinLoader;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class LateMixinLoader implements ILateMixinLoader {
Expand Down

0 comments on commit bc8a544

Please sign in to comment.