Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Build Vivecraft

Build Vivecraft #51

Workflow file for this run

# 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 Vivecraft
on:
workflow_dispatch:
inputs:
branch_name:
description: 'Vivecraft branch name'
required: true
default: 'Multiloader-1.20.4'
type: string
minecraft_version:
description: 'Minecraft version'
required: true
default: '1.20.4'
type: string
vivecraft_version:
description: 'Vivecraft version'
required: true
default: '1.1.8'
type: string
permissions:
contents: read
env:
BRANCH: ${{ inputs.branch_name }}
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Run Script
run: .\build.bat
- uses: actions/upload-artifact@v3
with:
name: Vivecraft
path: ${{ format('VivecraftMod/fabric/build/libs/vivecraft-{0}-{1}-fabric.jar', inputs.minecraft_version, inputs.vivecraft_version) }}