From 2be5e0aec88d987b4e7a65e06109ac3baa944168 Mon Sep 17 00:00:00 2001 From: Enrique Araque Date: Wed, 6 Nov 2024 15:47:29 +0100 Subject: [PATCH] Fix unchanged allocator artifact conditions --- .github/workflows/Test_installation_assistant.yml | 4 ++-- .github/workflows/Test_installation_assistant_distributed.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Test_installation_assistant.yml b/.github/workflows/Test_installation_assistant.yml index 506e4da..5eaab14 100644 --- a/.github/workflows/Test_installation_assistant.yml +++ b/.github/workflows/Test_installation_assistant.yml @@ -198,12 +198,12 @@ jobs: - name: Compress Allocator VM directory id: compress_allocator_files - if: always() && steps.allocator_instance.outcome == 'success' && (inputs.DESTROY == false && github.event_name != 'pull_request') + if: always() && steps.allocator_instance.outcome == 'success' && inputs.DESTROY == false && github.event_name != 'pull_request' run: | zip -P "${{ secrets.ZIP_ARTIFACTS_PASSWORD }}" -r $ALLOCATOR_PATH.zip $ALLOCATOR_PATH - name: Upload Allocator VM directory as artifact - if: always() && steps.compress_allocator_files.outcome == 'success' && (inputs.DESTROY == false && github.event_name != 'pull_request') + if: always() && steps.compress_allocator_files.outcome == 'success' && inputs.DESTROY == false && github.event_name != 'pull_request' uses: actions/upload-artifact@v4 with: name: allocator-instance-${{ matrix.system }} diff --git a/.github/workflows/Test_installation_assistant_distributed.yml b/.github/workflows/Test_installation_assistant_distributed.yml index f9dbbbc..a425889 100644 --- a/.github/workflows/Test_installation_assistant_distributed.yml +++ b/.github/workflows/Test_installation_assistant_distributed.yml @@ -292,12 +292,12 @@ jobs: - name: Compress Allocator VM directory id: compress_allocator_files - if: always() && steps.allocator_instance.outcome == 'success' && (inputs.DESTROY == false || github.event_name == 'pull_request') + if: always() && steps.allocator_instance.outcome == 'success' && inputs.DESTROY == false && github.event_name != 'pull_request' run: | zip -P "${{ secrets.ZIP_ARTIFACTS_PASSWORD }}" -r $ALLOCATOR_PATH.zip $ALLOCATOR_PATH - name: Upload Allocator VM directory as artifact - if: always() && steps.compress_allocator_files.outcome == 'success' && (inputs.DESTROY == false || github.event_name == 'pull_request') + if: always() && steps.compress_allocator_files.outcome == 'success' && inputs.DESTROY == false && github.event_name != 'pull_request' uses: actions/upload-artifact@v4 with: name: allocator-instance-${{ matrix.system }}