Skip to content

Commit

Permalink
Using different cache key for different test case (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhntd authored Jun 9, 2022
1 parent 5335531 commit 4ae77f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integrationTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ jobs:
uses: actions/cache@v2
with:
path: go.mod
key: ec2-linux-integration-test-${{ github.sha }}-${{ matrix.arrays.os }}
key: ec2-linux-integration-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.test_dir }}

- name: Echo Test Info
run: echo run on ec2 instance os ${{ matrix.arrays.os }} test dir ${{ matrix.arrays.test_dir }}
Expand Down Expand Up @@ -582,7 +582,7 @@ jobs:
uses: actions/cache@v2
with:
path: go.mod
key: ecs-fargate-integration-test-${{ github.sha }}-${{ matrix.arrays.os }}
key: ecs-fargate-integration-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.test_dir }}

- name: Login ECR
id: login-ecr
Expand Down

0 comments on commit 4ae77f1

Please sign in to comment.