Skip to content

Commit

Permalink
hotfix: add additional files for hash sum check
Browse files Browse the repository at this point in the history
  • Loading branch information
CarpathianUA committed Nov 12, 2024
1 parent 9484b03 commit 1852b1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy-to-cloudfront.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
run: ${{ (inputs.package_manager == 'yarn') && 'npm install -g yarn && yarn install --frozen-lockfile' || 'npm ci' }}
timeout-minutes: 10

- name: Cache build outputs
- name: Cache build
if: inputs.build_cache_path
timeout-minutes: 5
uses: actions/cache@v4
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/build-and-deploy-to-s3-qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,12 @@ jobs:
timeout-minutes: 5
uses: actions/cache@v4
with:
path: ${{ inputs.build_cache_path }}
key: build-cache-${{ (inputs.package_manager == 'yarn') && hashFiles('yarn.lock') || hashFiles('package-lock.json') }}
path: |
${{ inputs.build_cache_path }}
${{ inputs.build_cache_path == '.nx/cache' && '.nx/cache' || '' }}
key: build-cache-${{ (inputs.package_manager == 'yarn') && hashFiles('yarn.lock') || hashFiles('package-lock.json') }}-${{ inputs.build_cache_path == '.nx/cache' && hashFiles('nx.json') || '' }}
restore-keys: |
build-cache-${{ (inputs.package_manager == 'yarn') && hashFiles('yarn.lock') || hashFiles('package-lock.json') }}
build-cache-${{ (inputs.package_manager == 'yarn') && hashFiles('yarn.lock') || hashFiles('package-lock.json') }}-
build-cache-
- uses: nrwl/nx-set-shas@v3
Expand Down

0 comments on commit 1852b1d

Please sign in to comment.