From eeda8a4bed277a7c95c2d44c5c2b72e4de437d36 Mon Sep 17 00:00:00 2001 From: Guy Bertental Date: Thu, 12 Dec 2024 14:40:16 +0200 Subject: [PATCH] support multiple lines in devcontainer action (#116) --- .github/workflows/deploy_tre_reusable.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy_tre_reusable.yml b/.github/workflows/deploy_tre_reusable.yml index 64ab2d6..4763b89 100644 --- a/.github/workflows/deploy_tre_reusable.yml +++ b/.github/workflows/deploy_tre_reusable.yml @@ -414,7 +414,7 @@ jobs: uses: ./.github/actions/devcontainer_run_command with: # Although porter publish will build automatically, our makefile build target includes logic that should run - COMMAND: >- + COMMAND: | for i in {1..3}; do make bundle-build bundle-publish DIR=${{ matrix.BUNDLE_DIR }} && ec=0 && break || ec=\$? && sleep 30; done; (exit \$ec) DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }} @@ -460,7 +460,7 @@ jobs: uses: ./.github/actions/devcontainer_run_command with: # Although porter publish will build automatically, our makefile build target includes logic that should run - COMMAND: >- + COMMAND: | for i in {1..3}; do make bundle-build bundle-publish DIR=${{ matrix.BUNDLE_DIR }} && ec=0 && break || ec=\$? && sleep 30; done; (exit \$ec) DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }} @@ -504,7 +504,7 @@ jobs: - name: Register bundle uses: ./.github/actions/devcontainer_run_command with: - COMMAND: >- + COMMAND: | for i in {1..3}; do make bundle-register DIR=${{ matrix.BUNDLE_DIR }} && ec=0 && break || ec=\$? && sleep 10; done; (exit \$ec) DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }} @@ -566,7 +566,7 @@ jobs: - name: Register bundle uses: ./.github/actions/devcontainer_run_command with: - COMMAND: >- + COMMAND: | for i in {1..3}; do make bundle-register DIR=${{ matrix.BUNDLE_DIR }} && ec=0 && break || ec=\$? && sleep 10; done; (exit \$ec) DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }} @@ -616,7 +616,7 @@ jobs: - name: Register bundle uses: ./.github/actions/devcontainer_run_command with: - COMMAND: >- + COMMAND: | for i in {1..3}; do make bundle-register DIR=${{ matrix.BUNDLE_DIR }} && ec=0 && break || ec=\$? && sleep 10; done; (exit \$ec) DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}