From 8e3e57a7d07bf8c78965bb45274602ba36b547b8 Mon Sep 17 00:00:00 2001 From: dhower-qc <134728312+dhower-qc@users.noreply.github.com> Date: Sun, 14 Jul 2024 21:43:23 -0400 Subject: [PATCH] Update regress.yml Signed-off-by: dhower-qc <134728312+dhower-qc@users.noreply.github.com> --- .github/workflows/regress.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/regress.yml b/.github/workflows/regress.yml index cc7ed31c1..915effc5b 100644 --- a/.github/workflows/regress.yml +++ b/.github/workflows/regress.yml @@ -17,11 +17,19 @@ jobs: uses: actions/cache@v3 with: path: .singularity/image.sif - key: oras://docker.io/riscvintl/spec-generator:0.1 + key: ${{ hashFiles('container.def') }} + - name: Get gems and node files from cache + id: cache-bundle-npm + uses: actions/cache@v3 + with: + path: | + .home/.gems + node_modules + key: ${{ hashFiles('Gemfile.lock') }}-${{ 'package-lock.json' }} - if: ${{ steps.cache-sif.outputs.cache-hit != 'true' }} name: Build container run: ./bin/build_container - name: Setup project run: ./bin/setup - name: Build html documentation for generic_rv64 - run: apptainer run --home ${{ github.workspace }}/.home .singularity/image.sif bundle exec rake gen:html[generic_rv64] + run: ./do gen:html[generic_rv64]