mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2026-09-01 03:47:30 +02:00
Allow specifying workspace setup type (#5)
This commit is contained in:
@@ -11,6 +11,11 @@ on:
|
||||
required: false
|
||||
default: 90
|
||||
type: number
|
||||
workspace:
|
||||
description: 'setupCIWorkspace/setupDecompWorkspace'
|
||||
required: false
|
||||
default: "setupCIWorkspace"
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
@@ -38,7 +43,7 @@ jobs:
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Setup the workspace
|
||||
run: ./gradlew setupCIWorkspace
|
||||
run: ./gradlew ${{ inputs.workspace }}
|
||||
|
||||
- name: Build the mod
|
||||
run: ./gradlew build
|
||||
|
||||
Reference in New Issue
Block a user