From 40c3770b2efa0b72db8a6153d1849c91e0bed210 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Tue, 12 Jul 2022 14:55:56 +0200 Subject: [PATCH] [godot] GH action --- .github/workflows/spine-godot.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/spine-godot.yml b/.github/workflows/spine-godot.yml index cf2c3fd7b..74529100e 100644 --- a/.github/workflows/spine-godot.yml +++ b/.github/workflows/spine-godot.yml @@ -380,7 +380,9 @@ jobs: shell: bash if: env.AWS_ACCESS_KEY_ID != null run: | - aws s3 cp godot.windows.opt.tools.64.exe s3://spine-godot/spine-godot/3.4.4-stable/ - aws s3 cp godot.x11.opt.tools.64 s3://spine-godot/spine-godot/3.4.4-stable/ - aws s3 cp godot-editor-macos.zip s3://spine-godot/spine-godot/3.4.4-stable/ + BRANCH=${GITHUB_REF#refs/heads/} + echo "branch: $BRANCH" + aws s3 cp godot.windows.opt.tools.64.exe s3://spine-godot/spine-godot/$BRANCH/3.4.4-stable/ + aws s3 cp godot.x11.opt.tools.64 s3://spine-godot/spine-godot/$BRANCH/3.4.4-stable/ + aws s3 cp godot-editor-macos.zip s3://spine-godot/spine-godot/$BRANCH/3.4.4-stable/