Skip to content

Commit

Permalink
ci: include .godot folder to fix export (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
florianvazelle authored Jan 13, 2024
1 parent 0598929 commit 464a7ec
Show file tree
Hide file tree
Showing 357 changed files with 905 additions and 119 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Godot

GODOT_VERSION=4.2.1
GODOT_VERSION=4.2.1-stable

# Game

Expand Down
35 changes: 35 additions & 0 deletions .github/actions/setup-godot/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Setup Godot
description: Setup Godot dependencies.
runs:
using: "composite"
steps:

- name: Installing Linux dependencies
if: ${{ runner.os == 'Linux' }}
shell: bash
run: sudo apt-get install -y pulseaudio xvfb x11-xserver-utils mesa-vulkan-drivers

- name: Starting X11 server on :0
if: ${{ runner.os == 'Linux' }}
shell: bash
run: xset -q || /bin/bash -c "sudo Xvfb -ac :0 -screen 0 1920x1080x24 > /dev/null 2>&1 &"
env:
DISPLAY: ":0"

- name: Check that X11 server is running
if: ${{ runner.os == 'Linux' }}
uses: nick-fields/retry@v2
with:
timeout_minutes: 1
max_attempts: 5
command: /bin/bash -c "xset -q > /dev/null 2>&1"
env:
DISPLAY: ":0"

- name: Starting dummy sound device
if: ${{ runner.os == 'Linux' }}
uses: nick-fields/retry@v2
with:
timeout_minutes: 1
max_attempts: 3
command: pulseaudio --check || pulseaudio -D
4 changes: 2 additions & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"depNameTemplate": "godotengine/godot",
"packageNameTemplate": "https://github.com/godotengine/godot",
"versioningTemplate": "loose",
"extractVersionTemplate": "^(?<version>.*)-stable$",
"extractVersionTemplate": "^(?<version>.*)$",
"datasourceTemplate": "git-tags"
}
]
}
}
32 changes: 30 additions & 2 deletions .github/workflows/release-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
lfs: true

- uses: extractions/setup-just@v1

- name: Load dotenv
Expand All @@ -39,11 +42,22 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
lfs: true

- uses: extractions/setup-just@v1

- name: Load dotenv
run: just ci-load-dotenv

- name: Cache Godot
uses: actions/cache@v3
with:
path: |
~/.mkflower/bin
~/.local/share/godot/export_templates
key: ${{ env.godot_version }}

- name: Export
run: just export

Expand All @@ -63,8 +77,19 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
lfs: true

- uses: extractions/setup-just@v1

- name: Cache Godot
uses: actions/cache@v3
with:
path: |
~/.mkflower/bin
~/.local/share/godot/export_templates
key: ${{ env.godot_version }}

- name: Load dotenv
run: just ci-load-dotenv

Expand Down Expand Up @@ -92,6 +117,9 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
lfs: true

- uses: extractions/setup-just@v1

- name: Load dotenv
Expand All @@ -106,7 +134,7 @@ jobs:
skip_unpack: false

- name: Publish
run: just publish
run: just ci-publish
env:
BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Godot-specific ignores
.godot/
.godot/*
!.godot/imported/
!.godot/global_script_class_cache.cfg
.import/
gfxrecon_capture_*

Expand Down
193 changes: 193 additions & 0 deletions .godot/global_script_class_cache.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
list=Array[Dictionary]([{
"base": &"Interactable",
"class": &"Accessory",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/generic/accessory.gd"
}, {
"base": &"Node",
"class": &"AudioStreamPlayerPool",
"icon": "",
"language": &"GDScript",
"path": "res://addons/ez-sfx-and-music/scenes/AudioStreamPlayerPool/audio_stream_player_pool.gd"
}, {
"base": &"AudioStreamPlayer",
"class": &"AudioStreamPlayerWithFade",
"icon": "",
"language": &"GDScript",
"path": "res://addons/ez-sfx-and-music/scenes/AudioStreamPlayerWithFade/audio_stream_player_with_fade.gd"
}, {
"base": &"Mechanism",
"class": &"Barrier",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/barrier.gd"
}, {
"base": &"Receptacle",
"class": &"Car",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/car.gd"
}, {
"base": &"Observable",
"class": &"DarkRoad",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/dark_road.gd"
}, {
"base": &"Control",
"class": &"Dialogue",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/dialogue.gd"
}, {
"base": &"RichTextLabel",
"class": &"DialogueLabel",
"icon": "",
"language": &"GDScript",
"path": "res://addons/dialogue_label/src/DialogueLabel.gd"
}, {
"base": &"Receptacle",
"class": &"DoorHouse",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/door_house.gd"
}, {
"base": &"Mechanism",
"class": &"DoorSecurityPost",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/door_security_post.gd"
}, {
"base": &"CanvasLayer",
"class": &"Fade",
"icon": "",
"language": &"GDScript",
"path": "res://addons/UniversalFade/Fade.gd"
}, {
"base": &"Receptacle",
"class": &"FuseBox",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/fuse_box.gd"
}, {
"base": &"Mechanism",
"class": &"Grid",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/grid.gd"
}, {
"base": &"RayCast3D",
"class": &"InteractRay",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/player/interact_ray.gd"
}, {
"base": &"Item",
"class": &"Interactable",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/generic/interactable.gd"
}, {
"base": &"Node3D",
"class": &"Item",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/generic/item.gd"
}, {
"base": &"Observable",
"class": &"Mechanism",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/generic/mechanism.gd"
}, {
"base": &"Node",
"class": &"MenuAnimation",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/menu_anim.gd"
}, {
"base": &"CharacterBody3D",
"class": &"MovementController",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/player/movement_controller.gd"
}, {
"base": &"Node",
"class": &"MusicPlayer",
"icon": "",
"language": &"GDScript",
"path": "res://addons/ez-sfx-and-music/scenes/MusicPlayer/music_player.gd"
}, {
"base": &"Item",
"class": &"Observable",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/generic/observable.gd"
}, {
"base": &"Node",
"class": &"OptionsConstants",
"icon": "",
"language": &"GDScript",
"path": "res://addons/EasyMenus/Scripts/options_constants.gd"
}, {
"base": &"Resource",
"class": &"ProtonScatterBaseShape",
"icon": "",
"language": &"GDScript",
"path": "res://addons/proton_scatter/src/shapes/base_shape.gd"
}, {
"base": &"ProtonScatterBaseShape",
"class": &"ProtonScatterBoxShape",
"icon": "",
"language": &"GDScript",
"path": "res://addons/proton_scatter/src/shapes/box_shape.gd"
}, {
"base": &"Resource",
"class": &"ProtonScatterCacheResource",
"icon": "",
"language": &"GDScript",
"path": "res://addons/proton_scatter/src/common/cache_resource.gd"
}, {
"base": &"ProtonScatterBaseShape",
"class": &"ProtonScatterPathShape",
"icon": "",
"language": &"GDScript",
"path": "res://addons/proton_scatter/src/shapes/path_shape.gd"
}, {
"base": &"ProtonScatterBaseShape",
"class": &"ProtonScatterSphereShape",
"icon": "",
"language": &"GDScript",
"path": "res://addons/proton_scatter/src/shapes/sphere_shape.gd"
}, {
"base": &"Interactable",
"class": &"Receptacle",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/item/generic/receptacle.gd"
}, {
"base": &"Node",
"class": &"Scenario",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/scenario.gd"
}, {
"base": &"Node",
"class": &"SfxPlayer",
"icon": "",
"language": &"GDScript",
"path": "res://addons/ez-sfx-and-music/scenes/SfxPlayer/sfx_player.gd"
}, {
"base": &"RichTextEffect",
"class": &"Sparkle",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/text_effects/sparkle.gd"
}, {
"base": &"Node3D",
"class": &"StreetLight",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/street_light.gd"
}])
3 changes: 3 additions & 0 deletions .godot/imported/0.ogg-3179700fe088088db8ceda12eeb30e3c.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="9e3a37a589c1e3a82521d3a6d036cec1"
dest_md5="9218b62aeea60bd58c91feda86ba3941"

Binary file not shown.
3 changes: 3 additions & 0 deletions .godot/imported/0.ogg-e9e8cff724f6d52a9cd379f89de7366d.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="603b69b0ae3dee4a3d634191d1dd6624"
dest_md5="8596feb7a78c9a32e90081d5b6c0f09e"

Binary file not shown.
3 changes: 3 additions & 0 deletions .godot/imported/1.ogg-505a94773df7b04b33321082eb1c0d28.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="216bb6f3426e3b20d76e94fbce257f64"
dest_md5="481e8c801cd75961e3ccf7699e48805a"

Binary file not shown.
3 changes: 3 additions & 0 deletions .godot/imported/1.ogg-fe6c4854b4685a8b714525fead435b69.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="1b51c7f8ca07f1ec47bf108456e9aba8"
dest_md5="af8dc60b2aedf72a7d1cb808e6939e9a"

Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions .godot/imported/1.svg-15461a63252c61d47c72a31629894a26.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="b0701cc51805d255ef664fd03a31a122"
dest_md5="c6f0f22b602bcd3b9f6be099f38c4422"

3 changes: 3 additions & 0 deletions .godot/imported/2.ogg-ecc3f96acc35b9eefd8f7f915ff6ffa5.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="fc35f230d33696dcf6be4a5e68f31180"
dest_md5="789453fc51828a10809893ca8dabf0d4"

Binary file not shown.
3 changes: 3 additions & 0 deletions .godot/imported/2.ogg-fe10e3a63d86a006ce225b5e75b1bd4b.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="a66aa6ae1bba2bee2295afb23bd13b8f"
dest_md5="4032dc2f415dfaf646c5b34b2f4df4f8"

Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions .godot/imported/2.svg-053c5d997067871191f4000b81461e5d.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="5355e091f79e278d9e8b1bd8d8e35810"
dest_md5="899a36ab2dd30eb8ee6ca31b7a8973e1"

3 changes: 3 additions & 0 deletions .godot/imported/3.ogg-c40e68613a79b6723347c57eae50189e.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="73929c6b60004b96d5818036469cc2bd"
dest_md5="f604b64f57fbe820ee3128064e2f1a03"

Binary file not shown.
3 changes: 3 additions & 0 deletions .godot/imported/3.ogg-c648b2e4b9bc8501f2d13ed1eb879599.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="b08416f2a84cec71c50caef1f015abd0"
dest_md5="4cac6a8531279c8b61c9c0513dd67328"

Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions .godot/imported/3.svg-456dac6515246348acd4893e98f4bdc7.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="a5aaba4a98991c173578528c92ad378d"
dest_md5="42b2e9ac90d3fdd2a77be32c4d302fc9"

3 changes: 3 additions & 0 deletions .godot/imported/4.ogg-7b3e638ccf6beab3ae3b6b91e4c651aa.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="75087bbe073c9a806c0e62b1ed723fa8"
dest_md5="5fcab22124ce00661074040181b5dddf"

Binary file not shown.
3 changes: 3 additions & 0 deletions .godot/imported/4.ogg-965a72546d819d04233bf1b40c6489f2.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="6e06fd029965c8a592a7978fbfa39390"
dest_md5="ad846734060c5e1ffc196226b10d5bf1"

Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions .godot/imported/4.svg-963688afa901818a04233dc49468c7c7.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="d6c09b98df763f345d3927903c1abd66"
dest_md5="debd61dfad6e01cc2799279325dc077c"

3 changes: 3 additions & 0 deletions .godot/imported/5.ogg-4c07c61ec389e3e4d52927b378354b57.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="87ca2a172bbe9a6c56b1dabe1ca6581a"
dest_md5="38bc4f95dd1a06b10361fc6d103ffe9a"

Binary file not shown.
3 changes: 3 additions & 0 deletions .godot/imported/5.ogg-939cdc737740c2abacf5e13dd4e8de7e.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="7e78765f4aafae5ad0c26cbfd9369e24"
dest_md5="bade6b9259a1f5bb05b42afc39713fdc"

Binary file not shown.
Loading

0 comments on commit 464a7ec

Please sign in to comment.