Chore remove headers #158
Workflow file for this run
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: π GHA | |
# Only run pipeline on open pull_requests and master + versions + releases | |
# we don't need it on every push and some parameters are not available for push only | |
on: | |
pull_request: | |
push: | |
branches: | |
- "master" | |
- "3.4" | |
- "4.1" | |
release: | |
types: [published] | |
concurrency: | |
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-runner | |
cancel-in-progress: true | |
jobs: | |
get-version: | |
name: π Get godot version | |
uses: ./.github/workflows/get_version.yml | |
static-checks: | |
name: π Static checks | |
uses: ./.github/workflows/static_checks.yml | |
needs: get-version | |
with: | |
version: ${{ needs.get-version.outputs.version }} | |
android-build: | |
name: π€ Android | |
needs: [static-checks, get-version] | |
uses: ./.github/workflows/android_builds.yml | |
with: | |
version: ${{ needs.get-version.outputs.version }} | |
ios-build: | |
name: π iOS | |
needs: [static-checks, get-version] | |
uses: ./.github/workflows/ios_builds.yml | |
with: | |
version: ${{ needs.get-version.outputs.version }} | |
linux-build: | |
name: π§ Linux | |
needs: [static-checks, get-version] | |
uses: ./.github/workflows/linux_builds.yml | |
with: | |
version: ${{ needs.get-version.outputs.version }} | |
macos-build: | |
name: π macOS | |
needs: [static-checks, get-version] | |
uses: ./.github/workflows/macos_builds.yml | |
with: | |
version: ${{ needs.get-version.outputs.version }} | |
windows-build: | |
name: π Windows | |
needs: [static-checks, get-version] | |
uses: ./.github/workflows/windows_builds.yml | |
with: | |
version: ${{ needs.get-version.outputs.version }} | |
web-build: | |
name: π Web | |
needs: [static-checks, get-version] | |
uses: ./.github/workflows/web_builds.yml | |
with: | |
version: ${{ needs.get-version.outputs.version }} | |
checks-done: | |
if: ${{ always() }} | |
name: β Check builds | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Checks done | |
run: | | |
resultWebBuild="${{ needs.web-build.result }}" | |
resultWindowsBuild="${{ needs.windows-build.result }}" | |
resultMacosBuild="${{ needs.macos-build.result }}" | |
resultLinuxBuild="${{ needs.linux-build.result }}" | |
resultIosBuild="${{ needs.ios-build.result }}" | |
resultAndroidBuild="${{ needs.android-build.result }}" | |
if [[ | |
$resultWebBuild == "success" && | |
$resultWindowsBuild == "success" && | |
$resultMacosBuild == "success" && | |
$resultLinuxBuild == "success" && | |
$resultIosBuild == "success" && | |
$resultAndroidBuild == "success" | |
]]; | |
then | |
echo "π All builds were successful." | |
exit 0 | |
else | |
echo "π₯ Some builds were failing." | |
exit 1 | |
fi | |
needs: | |
[ | |
web-build, | |
windows-build, | |
macos-build, | |
linux-build, | |
ios-build, | |
android-build | |
] | |
release: | |
name: π¦ Release | |
if: github.event_name == 'release' && github.event.action == 'published' | |
needs: [checks-done, get-version] | |
uses: ./.github/workflows/release_builds.yml | |
secrets: inherit | |
with: | |
version: ${{ needs.get-version.outputs.version }} |