mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:47:32 +00:00
cache compose tests
This commit is contained in:
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@@ -35,6 +35,7 @@ jobs:
|
||||
oidc: true
|
||||
- name: Restore Run Caches
|
||||
uses: actions/cache/restore@v4
|
||||
id: run-caches-restore
|
||||
with:
|
||||
path: ${{ runner.temp }}/zitadel-make-cache
|
||||
key: zitadel-make-cache-${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
||||
@@ -46,11 +47,11 @@ jobs:
|
||||
DEPOT_PROJECT_ID: jp837jn3fm
|
||||
REF_TAG: ${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
||||
CACHE_DIR: ${{ runner.temp }}/zitadel-make-cache
|
||||
LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT: .
|
||||
LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT: "."
|
||||
- name: Save Run Caches
|
||||
id: cache-primes-save
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ${{ runner.temp }}/zitadel-make-cache
|
||||
key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}
|
||||
key: ${{ steps.run-caches-restore.outputs.cache-primary-key }}
|
||||
if: always()
|
||||
|
Reference in New Issue
Block a user