name: Build Godot Engine on: push: branches: [ "customized-moa" ] jobs: build-windows: name: Build Windows ${{ matrix.name }} runs-on: ubuntu-latest # Run on Host (so Checkout works) strategy: fail-fast: false matrix: include: - name: Editor target: editor production: yes artifact_name: godot-windows-editor - name: Debug Template target: template_debug production: no artifact_name: godot-windows-debug - name: Release Template target: template_release production: yes artifact_name: godot-windows-release steps: - name: Checkout Source uses: actions/checkout@v3 with: submodules: recursive - name: Compile with SCons uses: docker://quay.io/buildah/stable env: REGISTRY: gitea.212.63.210.91.nip.io OWNER: ${{ gitea.repository_owner }} IMAGE_NAME: godot-builder-windows IMAGE_TAG: 513d6efc259bb974ee2078adfa5f0994d0796a57 USERNAME: ${{ gitea.actor }} PASSWORD: ${{ secrets.USER_PACKAGE_PASSWORD }} # Build Arguments (From Matrix) PLATFORM: windows TARGET: ${{ matrix.target }} PRODUCTION: ${{ matrix.production }} with: entrypoint: /bin/sh # Just run the file! No messy YAML strings. args: .gitea/workflows/scripts/build-with-buildah.sh - name: Upload Artifacts uses: actions/upload-artifact@v3 with: name: ${{ matrix.artifact_name }} path: bin/*.exe