Skip to content

Commit

Permalink
NRL-817 Fix paths for permissions cache
Browse files Browse the repository at this point in the history
  • Loading branch information
axelkrastek1-nhs committed Jul 1, 2024
1 parent 99747ba commit c2abbb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/persistent-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ jobs:
name: build-artifacts
path: |
dist/*.zip
!dist/nrlf-permissions.zip
!dist/nrlf_permissions.zip
- name: Save NRLF Permissions cache
uses: actions/cache/save@v4
with:
key: ${{ github.run_id }}-nrlf-permissions
path: dist/nrlf-permissions.zip
path: dist/nrlf_permissions.zip

terraform-plan:
name: Terraform Plan - ${{ inputs.environment }}
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
uses: actions/cache/restore@v4
with:
key: ${{ github.run_id }}-nrlf-permissions
path: dist/nrlf-permissions.zip
path: dist
fail-on-cache-miss: true

- name: Terraform Init
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
uses: actions/cache/restore@v4
with:
key: ${{ github.run_id }}-nrlf-permissions
path: dist/nrlf-permissions.zip
path: dist
fail-on-cache-miss: true

- name: Configure Management Credentials
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-env-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ jobs:
name: build-artifacts
path: |
dist/*.zip
!dist/nrlf-permissions.zip
!dist/nrlf_permissions.zip
- name: Save NRLF Permissions cache
uses: actions/cache/save@v4
with:
key: ${{ github.run_id }}-nrlf-permissions
path: dist/nrlf-permissions.zip
path: dist/nrlf_permissions.zip

- name: Add Failure Pull Request Comment
uses: actions/github-script@v7
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
uses: actions/cache/restore@v4
with:
key: ${{ github.run_id }}-nrlf-permissions
path: dist/nrlf-permissions.zip
path: dist
fail-on-cache-miss: true

- name: Retrieve Server Certificates
Expand Down

0 comments on commit c2abbb1

Please sign in to comment.