From 184c44f6d49fe358aa1980718d274bcd9736b79d Mon Sep 17 00:00:00 2001 From: Fris0uman <41293484+Fris0uman@users.noreply.github.com> Date: Thu, 5 Sep 2024 15:01:04 +0200 Subject: [PATCH] If it exists copy layering.json in the aretefact (#2512) Co-authored-by: Fris0uman --- .github/workflows/composer_template.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/composer_template.yml b/.github/workflows/composer_template.yml index c4e2d41a8e..0685edb0b3 100644 --- a/.github/workflows/composer_template.yml +++ b/.github/workflows/composer_template.yml @@ -45,6 +45,7 @@ jobs: mv "${BUILD_DIR}"/*.png "$artifact_name" cp "$BUILD_DIR/tile_config.json" "$artifact_name" cp "gfx/$TILESET/tileset.txt" "$artifact_name" + [ -f "gfx/$TILESET/layering.json" ] && cp "gfx/$TILESET/layering.json" "$artifact_name" echo "ARTIFACT-NAME=$artifact_name" >> $GITHUB_OUTPUT