Skip to content

πŸ”¨ Custom Build - test-github-actions-update-02 by @Pantotone #8

πŸ”¨ Custom Build - test-github-actions-update-02 by @Pantotone

πŸ”¨ Custom Build - test-github-actions-update-02 by @Pantotone #8

Workflow file for this run

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 }}