Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Prod builder

Prod builder #96

Workflow file for this run

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