mirror of
https://github.com/actions/cache.git
synced 2026-06-30 17:11:44 +00:00
CI migrated
This commit is contained in:
parent
d43149eba7
commit
2f484236b8
16
.github/workflows/workflow.yml
vendored
16
.github/workflows/workflow.yml
vendored
@ -57,6 +57,10 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
test-cache
|
test-cache
|
||||||
~/test-cache
|
~/test-cache
|
||||||
|
aws-region: ${{ secrets.TEST_AWS_REGION }}
|
||||||
|
aws-bucket: ${{ secrets.TEST_AWS_BUCKET }}
|
||||||
|
aws-access-key-id: ${{ secrets.TEST_AWS_ACCESS_KEY_ID }}
|
||||||
|
aws-secret-access-key: ${{ secrets.TEST_AWS_SECRET_ACCESS_KEY }}
|
||||||
test-restore:
|
test-restore:
|
||||||
needs: test-save
|
needs: test-save
|
||||||
strategy:
|
strategy:
|
||||||
@ -74,6 +78,10 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
test-cache
|
test-cache
|
||||||
~/test-cache
|
~/test-cache
|
||||||
|
aws-region: ${{ secrets.TEST_AWS_REGION }}
|
||||||
|
aws-bucket: ${{ secrets.TEST_AWS_BUCKET }}
|
||||||
|
aws-access-key-id: ${{ secrets.TEST_AWS_ACCESS_KEY_ID }}
|
||||||
|
aws-secret-access-key: ${{ secrets.TEST_AWS_SECRET_ACCESS_KEY }}
|
||||||
- name: Verify cache files in working directory
|
- name: Verify cache files in working directory
|
||||||
shell: bash
|
shell: bash
|
||||||
run: __tests__/verify-cache-files.sh ${{ runner.os }} test-cache
|
run: __tests__/verify-cache-files.sh ${{ runner.os }} test-cache
|
||||||
@ -104,6 +112,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
key: test-proxy-${{ github.run_id }}
|
key: test-proxy-${{ github.run_id }}
|
||||||
path: test-cache
|
path: test-cache
|
||||||
|
aws-region: ${{ secrets.TEST_AWS_REGION }}
|
||||||
|
aws-bucket: ${{ secrets.TEST_AWS_BUCKET }}
|
||||||
|
aws-access-key-id: ${{ secrets.TEST_AWS_ACCESS_KEY_ID }}
|
||||||
|
aws-secret-access-key: ${{ secrets.TEST_AWS_SECRET_ACCESS_KEY }}
|
||||||
test-proxy-restore:
|
test-proxy-restore:
|
||||||
needs: test-proxy-save
|
needs: test-proxy-save
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -125,5 +137,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
key: test-proxy-${{ github.run_id }}
|
key: test-proxy-${{ github.run_id }}
|
||||||
path: test-cache
|
path: test-cache
|
||||||
|
aws-region: ${{ secrets.TEST_AWS_REGION }}
|
||||||
|
aws-bucket: ${{ secrets.TEST_AWS_BUCKET }}
|
||||||
|
aws-access-key-id: ${{ secrets.TEST_AWS_ACCESS_KEY_ID }}
|
||||||
|
aws-secret-access-key: ${{ secrets.TEST_AWS_SECRET_ACCESS_KEY }}
|
||||||
- name: Verify cache
|
- name: Verify cache
|
||||||
run: __tests__/verify-cache-files.sh proxy test-cache
|
run: __tests__/verify-cache-files.sh proxy test-cache
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user