ci: replace certificate caching with artifact uploads
CI / Generate Certificates (push) Failing after 41s
CI / Frontend CI (push) Has been skipped
CI / Backend CI (push) Has been skipped
CI / E2E Tests (push) Has been skipped

This commit is contained in:
ramvignesh-b
2026-05-05 00:03:02 +05:30
parent 0681a785a5
commit 3be53c1d89
+17 -16
View File
@@ -25,11 +25,12 @@ jobs:
mkcert -install
mkcert -cert-file certs/localhost.pem -key-file certs/localhost-key.pem localhost 127.0.0.1 ::1
- name: Cache certificates
uses: actions/cache/save@v4
- name: Upload certificates
uses: actions/upload-artifact@v4
with:
path: certs
key: certs-${{ runner.os }}-${{ github.sha }}
name: ssl-certs
path: certs/
retention-days: 1
frontend:
name: Frontend CI
@@ -42,11 +43,11 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Restore certificates
uses: actions/cache/restore@v4
- name: Download certificates
uses: actions/download-artifact@v4
with:
path: certs
key: certs-${{ runner.os }}-${{ github.sha }}
name: ssl-certs
path: certs/
- name: Install dependencies
run: bun install --frozen-lockfile
@@ -87,11 +88,11 @@ jobs:
enable-cache: true
cache-dependency-glob: "backend/uv.lock"
- name: Restore certificates
uses: actions/cache/restore@v4
- name: Download certificates
uses: actions/download-artifact@v4
with:
path: certs
key: certs-${{ runner.os }}-${{ github.sha }}
name: ssl-certs
path: certs/
- name: Lint & Test
run: |
@@ -116,11 +117,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Restore Certificates
uses: actions/cache/restore@v4
- name: Download Certificates
uses: actions/download-artifact@v4
with:
path: certs
key: certs-${{ runner.os }}-${{ github.sha }}
name: ssl-certs
path: certs/
- name: Setup Tools
uses: astral-sh/setup-uv@v5