Skip to content

build-cache

build-cache #10

Workflow file for this run

name: build-cache
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
build-cache:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ github.workspace }}/app
steps:
- uses: actions/checkout@v4
with:
path: generator-jhipster-jooq
- uses: jhipster/actions/setup-runner@v0
with:
node-version: 20
binary-dir: ${{ github.workspace }}/generator-jhipster-jooq/cli/
- uses: jhipster/actions/cache-npm-dependencies@v0
with:
generator-path: generator-jhipster-jooq
if: always()
- run: cli.cjs generate-sample --all
continue-on-error: true
- run: npm run backend:build-cache --workspaces
continue-on-error: true
- uses: jhipster/actions/save-cache@v0
if: always()
with:
key: ${{ github.run_id }}
npm: true
maven: true
gradle: true
- uses: jhipster/actions/restore-cache@v0
with:
npm: true
maven: true
gradle: true