File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,9 @@ jobs:
148148 with :
149149 path : artifacts
150150 - name : Copy artifacts to build folder
151- run : cp -r ${{ steps.download.outputs.download-path }}/**/libluagdextension* addons/lua-gdextension/build
151+ run : |
152+ make copy-files-to-addon
153+ cp -r ${{ steps.download.outputs.download-path }}/**/libluagdextension* addons/lua-gdextension/build
152154 - name : Upload artifact
153155 uses : actions/upload-artifact@v4
154156 with :
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ build/*
1616* .dylib
1717* .framework
1818compile_commands.json
19+ addons /lua-gdextension /README.md
1920addons /lua-gdextension /LICENSE
2021src /generated /
2122
Original file line number Diff line number Diff line change 11# Zip distribution
22ADDONS_DIR = addons/lua-gdextension
33ADDONS_SRC = $(shell find $(ADDONS_DIR ) -type f)
4- COPIED_FILES = LICENSE
4+ COPIED_FILES = LICENSE README.md
55# Testing
66GODOT_BIN ?= godot
77# Download releases
@@ -31,7 +31,9 @@ $(ADDONS_DIR)/%: %
3131build :
3232 mkdir -p $@
3333
34- build/lua-gdextension.zip : $(ADDONS_SRC ) $(addprefix $(ADDONS_DIR ) /,$(COPIED_FILES ) ) | build
34+ copy-files-to-addon : $(addprefix $(ADDONS_DIR ) /,$(COPIED_FILES ) ) | build
35+
36+ build/lua-gdextension.zip : $(ADDONS_SRC ) copy-files-to-addon | build
3537 zip $@ $^
3638
3739build/update_changelog_version.sed :
@@ -46,8 +48,7 @@ build/update_readme_version.sed:
4648test/.godot :
4749 $(GODOT_BIN ) --headless --quit --path test --editor || true
4850
49-
50- .PHONY : zip test download-latest-build bump-version build/update_changelog_version.sed
51+ .PHONY : zip test download-latest-build bump-version
5152zip : build/lua-gdextension.zip
5253
5354test : test/.godot
You can’t perform that action at this time.
0 commit comments