Some checks failed
Unreal Engine Build / trigger-builds (push) Has been cancelled
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
name: Unreal Engine Build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [ozgur/build]
|
|
|
|
jobs:
|
|
trigger-builds:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Trigger Windows Build
|
|
uses: https://gitea.com/actions/gitea-actions-dispatcher@v0.1.0
|
|
with:
|
|
workflow: windows-build.yml
|
|
token: ${{ secrets.GITEATOKEN }}
|
|
|
|
- name: Trigger Linux Build
|
|
uses: https://gitea.com/actions/gitea-actions-dispatcher@v0.1.0
|
|
with:
|
|
workflow: linux-build.yml
|
|
token: ${{ secrets.GITEATOKEN }}
|
|
|
|
- name: Trigger macOS Build
|
|
uses: https://gitea.com/actions/gitea-actions-dispatcher@v0.1.0
|
|
with:
|
|
workflow: macos-build.yml
|
|
token: ${{ secrets.GITEATOKEN }}
|
|
|
|
- name: Wait for builds to complete
|
|
run: |
|
|
echo "Waiting for platform builds to complete..."
|
|
sleep 60 # Adding a delay to ensure builds have time to start
|
|
|
|
- name: Trigger Release Creation
|
|
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'
|
|
uses: https://gitea.com/actions/gitea-actions-dispatcher@v0.1.0
|
|
with:
|
|
workflow: release.yml
|
|
token: ${{ secrets.GITEATOKEN }} |