Godot template repository for my programs
add project root path documentation
bendn 2022-10-09
parent dd6e014 · commit 56b004d
-rw-r--r--.github/workflows/export.yml23
1 files changed, 12 insertions, 11 deletions
diff --git a/.github/workflows/export.yml b/.github/workflows/export.yml
index bc93c62..cce0726 100644
--- a/.github/workflows/export.yml
+++ b/.github/workflows/export.yml
@@ -1,17 +1,17 @@
name: "export" # name of the workflow
on: # when it is triggered
- workflow_dispatch: # manually
- push: # on push
+ workflow_dispatch: # manually or
+ push: # on a push
+ branches:
+ - main # to this branch
paths: # with modifications to these files
- - "**.gd"
- - "**.tscn"
- - "**.import"
- - "**.tres"
- - "**.ttf"
- - ".github/workflows/export.yml"
- - "export_presets.cfg"
- branches: # on this branch
- - main
+ - "**.gd" # all gdscript files
+ - "**.tscn" # scene files
+ - "**.import" # this means a png changed
+ - "**.tres" # godot resources
+ - "**.ttf" # fonts in godot3 dont have their own .import
+ - ".github/workflows/export.yml" # this workflow
+ - "export_presets.cfg" # the export template
jobs: # the things to do
export: # a thing to do
@@ -21,6 +21,7 @@ jobs: # the things to do
godot-version: 3.5 # the godot version
image: ghcr.io/bend-n/godot-2d:3.5 # the container to use
platforms: "windows linux web android mac" # space seperated list of platforms to build
+ project-root-path: "." # the directory that project.godot is in
secrets: # secrets
android-keystore-base64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }} # not required
android-keystore-password: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }} # not required