Skip to content

fix mcp version

fix mcp version #79

Workflow file for this run

# This workflow will build and upload test artifact
# Simple workflow with ignoring condition to prevent unneccessary build
# To download artifact check on job task
name: Build Test Artifact
on:
push:
pull_request:
jobs:
build:
name: Build and Upload Artifact
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Grant Execute Permission for gradlew
run: chmod +x gradlew
- name: Change Mod version
run: sed -i "s/mod_version.*=.*/mod_version = test/g" gradle.properties
- name: Change Mod ID
run: sed -i "s/mod_id.*=.*/mod_id = example/g" gradle.properties
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'zulu'
cache: gradle
- name: Build
uses: gradle/gradle-build-action@v2
with:
arguments: build --info --stacktrace
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: example-1.12.2-test.jar
path: build/libs