builds godot
-rw-r--r--.github/workflows/manual-build-2d.yml21
-rw-r--r--.github/workflows/manual-build-normal.yml21
-rw-r--r--.github/workflows/manual-build.yml31
-rw-r--r--.github/workflows/reusable-build.yml5
4 files changed, 45 insertions, 33 deletions
diff --git a/.github/workflows/manual-build-2d.yml b/.github/workflows/manual-build-2d.yml
new file mode 100644
index 0000000..5a7f19a
--- /dev/null
+++ b/.github/workflows/manual-build-2d.yml
@@ -0,0 +1,21 @@
+name: Manually build godot 2D
+
+on:
+ workflow_dispatch:
+ inputs:
+ ref:
+ type: string
+ description: which ref to build
+ required: true
+
+jobs:
+ two-dimensions:
+ name: Build ${{ inputs.ref }}
+ uses: bend-n/godot-builds/.github/workflows/reusable-build.yml@main
+ with:
+ ref: ${{ inputs.ref }}
+ name: godot-2d
+ build-name: bendn.2D
+ modules-path: ./.github/2d-build-modules.py
+ flags: disable_3d=yes
+ secrets: inherit
diff --git a/.github/workflows/manual-build-normal.yml b/.github/workflows/manual-build-normal.yml
new file mode 100644
index 0000000..e5e5ef1
--- /dev/null
+++ b/.github/workflows/manual-build-normal.yml
@@ -0,0 +1,21 @@
+name: Manually build godot normal
+
+on:
+ workflow_dispatch:
+ inputs:
+ ref:
+ type: string
+ description: which ref to build
+ required: true
+
+jobs:
+ all-dimensions:
+ name: Build ${{ inputs.ref }}
+ uses: bend-n/godot-builds/.github/workflows/reusable-build.yml@main
+ with:
+ ref: ${{ inputs.ref }}
+ name: godot
+ build-name: bendn
+ modules-path: ./.github/normal-build-modules.py
+ flags: ""
+ secrets: inherit
diff --git a/.github/workflows/manual-build.yml b/.github/workflows/manual-build.yml
deleted file mode 100644
index 137f340..0000000
--- a/.github/workflows/manual-build.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-name: Manually build godot
-
-on:
- workflow_dispatch:
- inputs:
- ref:
- type: string
- description: which ref to build
- required: true
-
-jobs:
- two-dimensions:
- name: Build ${{ inputs.ref }} (2d)
- uses: bend-n/godot-builds/.github/workflows/reusable-build.yml@main
- with:
- ref: ${{ inputs.ref }}
- name: godot-2d
- build-name: 2d
- modules-path: ./.github/2d-build-modules.py
- flags: ""
- secrets: inherit
- all-dimensions:
- name: Build ${{ inputs.ref }} (normal)
- uses: bend-n/godot-builds/.github/workflows/reusable-build.yml@main
- with:
- ref: ${{ inputs.ref }}
- name: godot
- build-name: normal
- modules-path: ./.github/normal-build-modules.py
- flags: ""
- secrets: inherit
diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml
index c08b0a2..7f7bfb8 100644
--- a/.github/workflows/reusable-build.yml
+++ b/.github/workflows/reusable-build.yml
@@ -4,11 +4,12 @@ on:
workflow_call:
inputs:
ref:
- required: true
type: string
+ required: true
flags:
type: string
- required: true
+ default: ""
+ required: false
modules-path:
type: string
required: true