Skip to content

Export metadata

Export metadata #3

Workflow file for this run

name: Export metadata
on:
workflow_dispatch:
inputs:
mcversion:
type: string
description: 'The Minecraft version to export for'
required: true
jobs:
publish:
name: Publish export
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build export
run: ./gradlew build -Pblackstone_targets_mc_version=${{ inputs.mcversion }}
- name: Publish export
run: ./gradlew publish -Pblackstone_targets_mc_version=${{ inputs.mcversion }}
env:
LDTTeamJfrogUsername: ${{ secrets.PUBLISHING_USERNAME }}
LDTTeamJfrogPassword: ${{ secrets.PUBLISHING_PASSWORD }}