This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
Prod builder #107
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: Prod builder | |
on: | |
workflow_dispatch: | |
inputs: | |
android: | |
description: 'Run build on Android' | |
required: false | |
default: true | |
type: boolean | |
windows: | |
description: 'Run build on Windows' | |
required: false | |
default: true | |
type: boolean | |
run-tests: | |
description: 'Run tests' | |
required: false | |
default: true | |
type: boolean | |
jobs: | |
android: | |
uses: ./.github/workflows/prod_android.yml | |
if: ${{ inputs.android }} | |
secrets: inherit | |
with: | |
run-tests: ${{ inputs.run-tests }} | |
windows: | |
uses: ./.github/workflows/prod_windows.yml | |
if: ${{ inputs.windows }} | |
with: | |
run-tests: ${{ inputs.run-tests }} | |
output: | |
name: Job Summary | |
needs: [android, windows] | |
runs-on: ubuntu-latest | |
if: ${{ always() }} | |
steps: | |
- name: Add job summary | |
run: | | |
echo "# Production builds :rocket:" >> $GITHUB_STEP_SUMMARY | |
echo "" >> $GITHUB_STEP_SUMMARY | |
echo "| Platform | Status |" >> $GITHUB_STEP_SUMMARY | |
echo "| -------- | ------ |" >> $GITHUB_STEP_SUMMARY | |
echo "| Android | ${{ needs.android.result }} |" >> $GITHUB_STEP_SUMMARY | |
echo "| Windows | ${{ needs.windows.result }} |" >> $GITHUB_STEP_SUMMARY |