Skip to content

Tidying up our Actions #5

Tidying up our Actions

Tidying up our Actions #5

Workflow file for this run

name: Cache generated distribution files for branch GH Actions
on:
workflow_dispatch:
pull_request:
jobs:
cache_dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- uses: cue-lang/setup-cue@v1.0.0
with:
version: 'v0.7.0'
- uses: actions/cache@v4
id: cache-dist
with:
path: dist
key: ${{ runner.os }}-dist-${{ hashFiles('dist/**/*') }}
- name: Generate distribution files
if: steps.cache-dist.outputs.cache-hit != 'true'
run: make VERBOSE=1
- name: Save distribution files
if: steps.cache-dist.outputs.cache-hit != 'true'
uses: actions/cache/save@v4