Skip to content

chore(deps): bump jvm from 1.9.0 to 1.9.10 #1081

chore(deps): bump jvm from 1.9.0 to 1.9.10

chore(deps): bump jvm from 1.9.0 to 1.9.10 #1081

Workflow file for this run

# Copyright (c) 2020 anatawa12 and other contributors
# This file is part of fixRTM, released under GNU LGPL v3 with few exceptions
# See LICENSE at https://github.com/fixrtm/fixRTM for more details
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 8
- name: prepare patching environment
uses: eskatos/gradle-command-action@v2
with:
arguments: preparePatchingEnvironment
# Runs a single command using the runners shell
- name: apply patches
run: ./pm.apply-patches
- name: build
uses: eskatos/gradle-command-action@v2
with:
arguments: build
- uses: actions/upload-artifact@v3
with:
name: jar
path: ./build/libs/*
retention-days: 30
# get jar name
- name: prepare run server
id: prepare_run_server
run: |
echo "::set-output name=version_name::$(grep 'modVersion=' < gradle.properties | sed 's/modVersion=//')"
rtmVersion="$(grep 'rtmVersion=' < gradle.properties | sed 's/rtmVersion=//')"
ngtVersion="$(grep 'ngtVersion=' < gradle.properties | sed 's/ngtVersion=//')"
curse() {
echo "$HOME/.gradle/caches/minecraft-mods/curse/$1/$2/$1-$2-raw.jar"
}
mkdir mods
cp "$(curse ngtlib "$ngtVersion")" mods
cp "$(curse realtrainmod "$rtmVersion")" mods
- name: run server
uses: anatawa12/minecraft-server-start-test@v2
with:
version: 1.12.2-14.23.5.2855
mod_jar: ./build/libs/fixRtm-${{ steps.prepare_run_server.outputs.version_name }}.jar
mods_dir: mods