execute scripts

This commit is contained in:
Max Peintner
2025-07-11 14:01:48 +02:00
parent d9b0a1287b
commit ac8d9c789d

View File

@@ -31,7 +31,7 @@ jobs:
continue-on-error: true continue-on-error: true
id: cache id: cache
with: with:
key: docs-${{ hashFiles('docs', 'proto', '!docs/build', '!docs/node_modules') }} key: docs-${{ hashFiles('docs', 'proto', '!docs/build', '!docs/node_modules', '!docs/protoc-gen-connect-openapi') }}
restore-keys: | restore-keys: |
docs- docs-
path: ${{ env.cache_path }} path: ${{ env.cache_path }}
@@ -51,6 +51,9 @@ jobs:
- if: ${{ steps.cache.outputs.cache-hit != 'true' }} - if: ${{ steps.cache.outputs.cache-hit != 'true' }}
name: Install dependencies name: Install dependencies
run: pnpm install run: pnpm install
- if: ${{ steps.cache.outputs.cache-hit != 'true' }}
name: Ensure protoc plugins are available
run: cd docs && if [ ! -f "protoc-gen-connect-openapi/protoc-gen-connect-openapi" ]; then sh ./plugin-download.sh; fi
- if: ${{ steps.cache.outputs.cache-hit != 'true' }} - if: ${{ steps.cache.outputs.cache-hit != 'true' }}
name: Build docs with Turbo name: Build docs with Turbo
run: pnpm turbo build --filter=./docs run: pnpm turbo build --filter=./docs