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 -install
mkcert -cert-file certs/localhost.pem -key-file certs/localhost-key.pem localhost 127.0.0.1 ::1 mkcert -cert-file certs/localhost.pem -key-file certs/localhost-key.pem localhost 127.0.0.1 ::1
- name: Cache certificates - name: Upload certificates
uses: actions/cache/save@v4 uses: actions/upload-artifact@v4
with: with:
path: certs name: ssl-certs
key: certs-${{ runner.os }}-${{ github.sha }} path: certs/
retention-days: 1
frontend: frontend:
name: Frontend CI name: Frontend CI
@@ -42,11 +43,11 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2 - uses: oven-sh/setup-bun@v2
- name: Restore certificates - name: Download certificates
uses: actions/cache/restore@v4 uses: actions/download-artifact@v4
with: with:
path: certs name: ssl-certs
key: certs-${{ runner.os }}-${{ github.sha }} path: certs/
- name: Install dependencies - name: Install dependencies
run: bun install --frozen-lockfile run: bun install --frozen-lockfile
@@ -87,11 +88,11 @@ jobs:
enable-cache: true enable-cache: true
cache-dependency-glob: "backend/uv.lock" cache-dependency-glob: "backend/uv.lock"
- name: Restore certificates - name: Download certificates
uses: actions/cache/restore@v4 uses: actions/download-artifact@v4
with: with:
path: certs name: ssl-certs
key: certs-${{ runner.os }}-${{ github.sha }} path: certs/
- name: Lint & Test - name: Lint & Test
run: | run: |
@@ -116,11 +117,11 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Restore Certificates - name: Download Certificates
uses: actions/cache/restore@v4 uses: actions/download-artifact@v4
with: with:
path: certs name: ssl-certs
key: certs-${{ runner.os }}-${{ github.sha }} path: certs/
- name: Setup Tools - name: Setup Tools
uses: astral-sh/setup-uv@v5 uses: astral-sh/setup-uv@v5