Files
setup_ccache/action.yml
2021-09-19 01:11:04 +02:00

19 lines
471 B
YAML

name: Setup ccache
description: Installs and sets up ccache
inputs:
key:
description: An explicit key for restoring and saving the cache
required: true
runs:
using: composite
steps:
- name: Install ccache
run: DEBIAN_FRONTEND=noninteractive sudo apt install -y ccache
shell: bash
- name: Cache ccache
uses: 0xFEEDC0DE64/cache-with-update@update-cache-on-cachehit
with:
path: ~/.ccache
key: ${{ inputs.key }}