Evaluate gdscript code
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
43
44
45
46
47
48
49
50
51
52
53
54
name: "export"
on:
  workflow_dispatch:
  push:
    paths:
      - "**.gd"
      - "**.tscn"
      - "**.import"
      - "**.tres"
      - "**.ttf"
      - "**.yml"
    branches:
      - main

env:
  GODOT_VERSION: 3.5
  RELEASE: rc
  NAME: ${{ github.event.repository.name }}

jobs:
  export:
    runs-on: ubuntu-latest
    container:
      image: ghcr.io/bend-n/godot-2d:3.5.rc
    name: ${{ matrix.name }}
    strategy:
      matrix:
        include:
          - name: Linux export
            platform: linux

    steps:
      - name: Build (Windows)
        if: matrix.platform == 'windows'
        uses: bend-n/godot-actions/.github/actions/export-windows@main

      - name: Build (Linux)
        if: matrix.platform == 'linux'
        uses: bend-n/godot-actions/.github/actions/export-linux@main

      - name: Build (Mac)
        if: matrix.platform == 'mac'
        uses: bend-n/godot-actions/.github/actions/export-mac@main

      - name: Build (Web)
        if: matrix.platform == 'web'
        uses: bend-n/godot-actions/.github/actions/export-web@main

      - name: Build (Android)
        if: matrix.platform == 'android'
        uses: bend-n/godot-actions/.github/actions/export-android@main
        with:
          android-keystore-base64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
          android-password: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}