Skip to content

chore: Update README information #11

chore: Update README information

chore: Update README information #11

Workflow file for this run

name: Build ModdedIntegration
on: push
jobs:
build:
name: "Build and upload artifacts"
runs-on: ubuntu-latest
steps:
- name: Checkout branch from GitHub
uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'
cache: gradle
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set variables
id: variables
run: |
echo "::set-output name=commit_branch::$GITHUB_REF_NAME"
echo "::set-output name=commit_hash::$(git rev-parse --short "$GITHUB_SHA")"
- name: Build using Gradle
run: |
chmod +x gradlew
./gradlew build -Pcommit_branch="${{ steps.variables.outputs.commit_branch }}" -Pcommit_hash="${{ steps.variables.outputs.commit_hash }}"
- name: Upload JAR artifact to GitHub
uses: actions/upload-artifact@master
with:
name: ModdedIntegration JAR
path: build/libs/