mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2025-07-03 02:41:29 +02:00
Allow specifying workspace setup type (#5)
This commit is contained in:
parent
17d7db2a88
commit
b9d2eb89a6
7
.github/workflows/build-and-test.yml
vendored
7
.github/workflows/build-and-test.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user