Ozgur Ersoy dca79841d4
Some checks failed
Unreal Engine Build / trigger-builds (push) Has been cancelled
feat(workflows): add new build workflows for Windows, Linux, and macOS, and remove obsolete build scripts
2025-04-12 23:19:39 +02:00

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 }}