builds godot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build godot 2d

on: workflow_dispatch

env:
  branch: 3.x

jobs:
  build-templates:
    runs-on: ubuntu-18.04
    steps:
      - name: Build templates
        uses: bend-n/godot-2d-builds/.github/actions/build-godot@main
        with:
          branch: ${{ env.branch }}
          tools: no
          target: release
          artifact-name: godot-templates
          flags: disable_3d=yes

  build-editor:
    runs-on: ubuntu-18.04
    steps:
      - name: Build editor
        uses: bend-n/godot-2d-builds/.github/actions/build-godot@main
        with:
          branch: ${{ env.branch }}
          tools: yes
          target: release_debug
          artifact-name: godot-editor

  build-headless:
    runs-on: ubuntu-18.04
    steps:
      - name: Build headless
        uses: bend-n/godot-2d-builds/.github/actions/build-godot@main
        with:
          branch: ${{ env.branch }}
          tools: yes
          platform: server
          target: release_debug
          artifact-name: godot-headless