Allow specifying workspace setup type (#5)

This commit is contained in:
Vladislav Laetansky 2022-07-29 17:06:20 +03:00 committed by GitHub
parent 17d7db2a88
commit b9d2eb89a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,11 @@ on:
required: false required: false
default: 90 default: 90
type: number type: number
workspace:
description: 'setupCIWorkspace/setupDecompWorkspace'
required: false
default: "setupCIWorkspace"
type: string
jobs: jobs:
build-and-test: build-and-test:
@ -38,7 +43,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