Allow specifying workspace setup type for release tags workflow (#6)

This commit is contained in:
Vladislav Laetansky 2022-07-31 18:16:56 +03:00 committed by GitHub
parent b9d2eb89a6
commit 28a1f3ea38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,12 @@ on:
required: false required: false
MAVEN_PASSWORD: MAVEN_PASSWORD:
required: false required: false
inputs:
workspace:
description: 'setupCIWorkspace/setupDecompWorkspace'
required: false
default: "setupCIWorkspace"
type: string
jobs: jobs:
build: build:
@ -34,7 +40,7 @@ jobs:
run: chmod +x gradlew run: chmod +x gradlew
- name: Setup the workspace - name: Setup the workspace
run: ./gradlew setupCIWorkspace run: ./gradlew ${{ inputs.workspace }}
- name: Build the mod - name: Build the mod
run: ./gradlew build run: ./gradlew build