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
name: Build godot 2d headless and editor for linux

on:
  workflow_dispatch:
  push:
    branches:
      - main

env:
  branch: 3.x
  tools: yes

jobs:
  build:
    strategy:
      matrix:
        target: [release, release_debug]

    name: Build editor
    runs-on: ubuntu-18.04
    steps:
      - name: Build editor
        uses: bend-n/godot-2d-builds/.github/actions/build-godot@main
        with:
          platform: x11
          target: ${{ matrix.target }}

      - name: Upload artifact
        uses: bend-n/godot-2d-builds/.github/actions/upload-artifact@main
        with:
          name: linux-editor-${{ matrix.target }}