Skip to content

Build Releases

Build Releases #198

name: Build Releases
on:
workflow_dispatch:
inputs:
steamworks_sdk_tag:
description: 'Steamworks SDK Github tag:'
required: true
type: string
default: 'sdk-1.59'
godot_tag:
description: 'Godot Github tag:'
required: true
type: string
default: '4.2.1-stable'
godotsteam_version:
description: 'GodotSteam MP version:'
required: true
type: string
default: '4.6-mp'
mono_tag:
description: 'Mono tag:'
required: true
type: string
default: 'release-5299efd'
jobs:
env-setup:
uses: ./.github/workflows/setup-env.yml
with:
godot_tag: ${{ inputs.godot_tag }}
godotsteam_version: ${{ inputs.godotsteam_version }}
steamworks_sdk_tag: ${{ inputs.steamworks_sdk_tag }}
build-linux:
needs: [env-setup]
uses: ./.github/workflows/build-artifact-linux.yml
with:
godot_tag: ${{ inputs.godot_tag }}
godot_version: ${{ needs.env-setup.outputs.godot_version }}
mono_tag: ${{ inputs.mono_tag }}
steamworks_sdk_tag: ${{ inputs.steamworks_sdk_tag }}
secrets:
steamworks_sdk_repo: ${{ secrets.STEAMWORKS_SDK_REPO }}
steamworks_sdk_repo_token: ${{ secrets.STEAMWORKS_SDK_REPO_TOKEN }}
create-linux-bundle:
needs: [env-setup, build-linux]
uses: ./.github/workflows/create-bundle.yml
with:
artifact_type: linux
platform: Linux
zip_prefix: linux64
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}
create-linux-mono-bundle:
needs: [env-setup, build-linux]
uses: ./.github/workflows/create-bundle.yml
with:
artifact_type: linux-mono
platform: Linux Mono
zip_prefix: linux64.mono
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}
build-windows:
needs: [env-setup]
uses: ./.github/workflows/build-artifact-windows.yml
with:
godot_tag: ${{ inputs.godot_tag }}
godot_version: ${{ needs.env-setup.outputs.godot_version }}
mono_tag: ${{ inputs.mono_tag }}
steamworks_sdk_tag: ${{ inputs.steamworks_sdk_tag }}
secrets:
steamworks_sdk_repo: ${{ secrets.STEAMWORKS_SDK_REPO }}
steamworks_sdk_repo_token: ${{ secrets.STEAMWORKS_SDK_REPO_TOKEN }}
create-windows32-bundle:
needs: [env-setup, build-windows]
uses: ./.github/workflows/create-bundle.yml
with:
artifact_type: windows32
platform: Windows32
zip_prefix: win32
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}
create-windows64-bundle:
needs: [env-setup, build-windows]
uses: ./.github/workflows/create-bundle.yml
with:
artifact_type: windows64
platform: Windows64
zip_prefix: win64
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}
build-macos:
needs: [env-setup]
uses: ./.github/workflows/build-artifact-macos.yml
with:
godot_tag: ${{ inputs.godot_tag }}
godot_version: ${{ needs.env-setup.outputs.godot_version }}
mono_tag: ${{ inputs.mono_tag }}
steamworks_sdk_tag: ${{ inputs.steamworks_sdk_tag }}
secrets:
steamworks_sdk_repo: ${{ secrets.STEAMWORKS_SDK_REPO }}
steamworks_sdk_repo_token: ${{ secrets.STEAMWORKS_SDK_REPO_TOKEN }}
create-macos-bundle:
needs: [env-setup, build-macos]
uses: ./.github/workflows/create-bundle.yml
with:
artifact_type: macos
platform: MacOS
zip_prefix: macos
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}
crate-macos-mono-bundle:
needs: [env-setup, build-macos]
uses: ./.github/workflows/create-bundle.yml
with:
artifact_type: macos-mono
platform: MacOS Mono
zip_prefix: macos-mono
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}
create-template-bundle:
needs: [env-setup, build-linux, build-windows, build-macos]
uses: ./.github/workflows/create-bundle-templates.yml
with:
is_mono: false
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}
create-mono-template-bundle:
needs: [env-setup, build-linux, build-macos]
uses: ./.github/workflows/create-bundle-templates.yml
with:
is_mono: true
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}