ci(action): update release action

This commit is contained in:
2026-10-09 12:41:58 +03:00
parent 9e245fea4b
commit 75f3d0e1e4
3 changed files with 25 additions and 22 deletions
+10 -1
View File
@@ -1,7 +1,16 @@
modules = ["."]
#[presets.haxe]
#variables.haxe_sources = [
# "./src/common/haxe",
# "./src/app/haxe",
# "./src/server/haxe",
#]
#tasks = {}
[presets.docker]
variables.docker_target = "web"
variables.docker_build_args = { PROJECT_NAME = "{{ project_name }}" }
variables.docker_name = "{{ project_name }}-web"
[presets.docker.tasks.build.compose]
@@ -12,7 +21,7 @@ variables.build_path = "{{ 'BUILD_PATH' | env('./build') }}"
variables.target_path = "{{ 'TARGET_PATH' | env('./target') }}"
commands = [
"mkdir -p \"{{ sdk_path }}\" \"{{ publish_path }}\" \"{{ build_path }}\" \"{{ target_path }}\" \"src-gen\"",
"docker compose run --rm --user $(id -u):$(id -g) --build --remove-orphans builder",
"PROJECT={{ project_name }} SDK_PATH={{ sdk_path }} BUILD_PATH={{ build_path }} TARGET_PATH={{ target_path }} PUBLISH_PATH={{ publish_path }} docker compose run --rm --user $(id -u):$(id -g) --build --remove-orphans builder",
]
[presets.gitea]