mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
74 lines
1.4 KiB
YAML
74 lines
1.4 KiB
YAML
name: Release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
ref:
|
|
description: 'Ref to build (for Pull Requests, use refs/pull/NNN/head)'
|
|
required: true
|
|
# repository_dispatch:
|
|
# # client_payload should be the same as the inputs for workflow_dispatch.
|
|
# types:
|
|
# - Build*
|
|
# release:
|
|
# types:
|
|
# - published
|
|
|
|
jobs:
|
|
source:
|
|
name: Source
|
|
|
|
uses: ./.github/workflows/release-source.yml
|
|
secrets: inherit
|
|
|
|
docs:
|
|
name: Docs
|
|
needs: source
|
|
|
|
uses: ./.github/workflows/release-docs.yml
|
|
secrets: inherit
|
|
|
|
with:
|
|
version: ${{ needs.source.outputs.version }}
|
|
|
|
linux:
|
|
name: Linux (Generic)
|
|
needs: source
|
|
|
|
uses: ./.github/workflows/release-linux.yml
|
|
secrets: inherit
|
|
|
|
with:
|
|
survey_key: ${{ needs.source.outputs.survey_key }}
|
|
|
|
linux_distros:
|
|
name: Linux (Distros)
|
|
needs: source
|
|
|
|
uses: ./.github/workflows/release-linux-distros.yml
|
|
secrets: inherit
|
|
|
|
with:
|
|
survey_key: ${{ needs.source.outputs.survey_key }}
|
|
|
|
macos:
|
|
name: MacOS
|
|
needs: source
|
|
|
|
uses: ./.github/workflows/release-macos.yml
|
|
secrets: inherit
|
|
|
|
with:
|
|
survey_key: ${{ needs.source.outputs.survey_key }}
|
|
|
|
windows:
|
|
name: Windows
|
|
needs: source
|
|
|
|
uses: ./.github/workflows/release-windows.yml
|
|
secrets: inherit
|
|
|
|
with:
|
|
is_tag: ${{ needs.source.outputs.is_tag }}
|
|
survey_key: ${{ needs.source.outputs.survey_key }}
|