Remove Quartz caching, rebuild every time
Simpler is better - just clone and npm ci on each build. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
e626425d34
commit
9b87542cae
1 changed files with 2 additions and 20 deletions
|
|
@ -40,20 +40,9 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Cache Quartz installation (clone + node_modules)
|
||||
# Quartz version is determined by the mirror (forge.ops.eblu.me/eblume/quartz)
|
||||
# Bump the cache key number to invalidate (e.g., after mirror update)
|
||||
- name: Restore Quartz cache
|
||||
id: cache-quartz
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /tmp/quartz
|
||||
key: quartz-1
|
||||
|
||||
- name: Setup Quartz
|
||||
if: steps.cache-quartz.outputs.cache-hit != 'true'
|
||||
- name: Build docs
|
||||
run: |
|
||||
echo "Cache miss - setting up Quartz..."
|
||||
VERSION="${{ inputs.version }}"
|
||||
echo "Node version: $(node --version)"
|
||||
echo "NPM version: $(npm --version)"
|
||||
|
||||
|
|
@ -64,13 +53,6 @@ jobs:
|
|||
# Install dependencies
|
||||
npm ci
|
||||
|
||||
echo "Quartz setup complete"
|
||||
|
||||
- name: Build docs
|
||||
run: |
|
||||
VERSION="${{ inputs.version }}"
|
||||
cd /tmp/quartz
|
||||
|
||||
# Copy our configuration (lives in docs/ to keep repo root clean)
|
||||
cp "$GITHUB_WORKSPACE/docs/quartz.config.ts" .
|
||||
cp "$GITHUB_WORKSPACE/docs/quartz.layout.ts" .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue