From d83da64df59aa5ca7b7bd8e3e7ca2b4ee173b0b1 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Wed, 27 Aug 2025 11:36:47 -0400 Subject: [PATCH] move AWS vars closer to the usage [ci:force] --- .../actions/download-node-modules-and-artifacts/action.yml | 6 ++++-- .../actions/upload-node-modules-and-artifacts/action.yml | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/download-node-modules-and-artifacts/action.yml b/.github/actions/download-node-modules-and-artifacts/action.yml index a61404aa3a..38f4dea1f5 100644 --- a/.github/actions/download-node-modules-and-artifacts/action.yml +++ b/.github/actions/download-node-modules-and-artifacts/action.yml @@ -6,7 +6,9 @@ runs: - name: download and extract artifacts from s3 shell: bash env: - REMOTE_PATH: "alfresco-ng2-components/build-cache/${{ github.run_id }}" + REMOTE_PATH: "alfresco-ng2-components/build-cache/${{ github.run_id }}" + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} run: | packages=( dist nxcache node_modules ) for i in "${packages[@]}"; do @@ -24,4 +26,4 @@ runs: echo "====NXCACHE====" find nxcache -maxdepth 1 -type d echo "====ADF====" - find node_modules/@alfresco/ -maxdepth 1 -type d \ No newline at end of file + find node_modules/@alfresco/ -maxdepth 1 -type d diff --git a/.github/actions/upload-node-modules-and-artifacts/action.yml b/.github/actions/upload-node-modules-and-artifacts/action.yml index f482168d41..2c5b24b11a 100644 --- a/.github/actions/upload-node-modules-and-artifacts/action.yml +++ b/.github/actions/upload-node-modules-and-artifacts/action.yml @@ -8,6 +8,8 @@ runs: shell: bash env: REMOTE_PATH: "alfresco-ng2-components/build-cache/${{ github.run_id }}" + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} run: | packages=( dist nxcache node_modules ) for i in "${packages[@]}"; do