From cc989979d3da5322a39cf146ecb6399f9eda0a0b Mon Sep 17 00:00:00 2001 From: 8naama Date: Tue, 14 Jan 2025 15:01:10 +0200 Subject: [PATCH] add condition to only trun once --- .github/workflows/layer-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/layer-publish.yml b/.github/workflows/layer-publish.yml index e88acf38fc..5cdb3db866 100644 --- a/.github/workflows/layer-publish.yml +++ b/.github/workflows/layer-publish.yml @@ -114,6 +114,7 @@ jobs: - name: Upload Layer Version artifact uses: actions/upload-artifact@v4 + if: ${{ inputs.architecture == 'amd64' && inputs.aws_region == 'us-east-1' }} with: name: layer-version - path: ./layer-version.txt + path: layer-version.txt