Skip to content

Commit

Permalink
feature/PI-43-stored-properties secret stuff 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohoolio committed Oct 24, 2023
1 parent e65d877 commit d18fcc2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/actions/components/caching/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ inputs:
runs:
using: "composite"
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Create cache
uses: actions/cache@v3
with:
Expand All @@ -17,6 +20,6 @@ runs:
**/dist/*zip
infrastructure/terraform/per_account/*/parameters/tfplan
infrastructure/terraform/per_account/*/tfplan
key: ${{ env.GITHUB_SHA_SHORT }}-${{ inputs.cache-suffix == '' && 'head' || inputs.cache-suffix }}-$(date +'%Y-%m-%d')
key: ${{ env.GITHUB_SHA_SHORT }}-${{ inputs.cache-suffix == '' && 'head' || inputs.cache-suffix }}-${{ steps.date.outputs.date }}
restore-keys: |
${{ env.GITHUB_SHA_SHORT }}-${{ inputs.cache-suffix == '' && 'head' || inputs.cache-suffix }}

0 comments on commit d18fcc2

Please sign in to comment.