π¨ Custom Build - test_commit-22d7f6de3ec7fc14f4e39fa470742ae3f4b137f2 by @Pantotone #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π¨ Custom Build | |
on: | |
workflow_dispatch: | |
inputs: | |
# Inputs - Build settings | |
versionName: | |
description: "Version Name" | |
type: string | |
required: true | |
buildType: | |
description: 'Build Type' | |
required: true | |
default: 'development' | |
type: choice | |
options: | |
- stable | |
- nightly | |
- development | |
# Inputs - Base Game repository | |
gameRepositoryAuthor: | |
description: "Base Game - Repository Author" | |
default: "YARC-Official" | |
type: string | |
gameRepositoryName: | |
description: "Base Game - Repository Name" | |
default: "YARG" | |
type: string | |
gameRepositoryBranch: | |
description: "Base Game - Repository Branch" | |
default: "dev" | |
type: string | |
# Inputs - YARG.Core repository | |
customCoreRepository: | |
description: "Use custom YARG.Core repository" | |
type: boolean | |
default: false | |
coreRepositoryAuthor: | |
description: "YARG.Core - Repository Author" | |
default: "YARC-Official" | |
type: string | |
coreRepositoryName: | |
description: "YARG.Core - Repository Name" | |
default: "YARG.Core" | |
type: string | |
coreRepositoryBranch: | |
description: "YARG.Core - Repository Branch" | |
default: "master" | |
type: string | |
run-name: π¨ Custom Build - ${{ inputs.versionName }} by @${{ github.actor }} | |
jobs: | |
linux-builder: | |
name: "π¨ Build - Linux" | |
uses: ./.github/workflows/build-Linux.yml | |
secrets: inherit | |
with: | |
versionName: ${{ inputs.versionName }} | |
buildType: ${{ inputs.buildType }} | |
gameRepositoryAuthor: ${{ inputs.gameRepositoryAuthor }} | |
gameRepositoryName: ${{ inputs.gameRepositoryName }} | |
gameRepositoryBranch: ${{ inputs.gameRepositoryBranch }} | |
customCoreRepository: ${{ inputs.customCoreRepository }} | |
coreRepositoryAuthor: ${{ inputs.coreRepositoryAuthor }} | |
coreRepositoryName: ${{ inputs.coreRepositoryName }} | |
coreRepositoryBranch: ${{ inputs.coreRepositoryBranch }} | |
mac-builder: | |
name: "π¨ Build - MacOS" | |
uses: ./.github/workflows/build-Mac.yml | |
secrets: inherit | |
with: | |
versionName: ${{ inputs.versionName }} | |
buildType: ${{ inputs.buildType }} | |
gameRepositoryAuthor: ${{ inputs.gameRepositoryAuthor }} | |
gameRepositoryName: ${{ inputs.gameRepositoryName }} | |
gameRepositoryBranch: ${{ inputs.gameRepositoryBranch }} | |
customCoreRepository: ${{ inputs.customCoreRepository }} | |
coreRepositoryAuthor: ${{ inputs.coreRepositoryAuthor }} | |
coreRepositoryName: ${{ inputs.coreRepositoryName }} | |
coreRepositoryBranch: ${{ inputs.coreRepositoryBranch }} | |
windows-builder: | |
name: "π¨ Build - Windows" | |
uses: ./.github/workflows/build-Windows.yml | |
secrets: inherit | |
with: | |
versionName: ${{ inputs.versionName }} | |
buildType: ${{ inputs.buildType }} | |
gameRepositoryAuthor: ${{ inputs.gameRepositoryAuthor }} | |
gameRepositoryName: ${{ inputs.gameRepositoryName }} | |
gameRepositoryBranch: ${{ inputs.gameRepositoryBranch }} | |
customCoreRepository: ${{ inputs.customCoreRepository }} | |
coreRepositoryAuthor: ${{ inputs.coreRepositoryAuthor }} | |
coreRepositoryName: ${{ inputs.coreRepositoryName }} | |
coreRepositoryBranch: ${{ inputs.coreRepositoryBranch }} |