Skip to content

Commit

Permalink
fieat: allow dependencies cache skip
Browse files Browse the repository at this point in the history
  • Loading branch information
RobPasMue committed Jun 30, 2023
1 parent 69580f0 commit deebadf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ inputs:
required: false
type: string

skip-dependencies-cache:
description: >
Whether to ignore dependencies cache or not - for OS libraries.
required: true
default: false
type: boolean

requires-xvfb:
description: >
Whether to install `X Virtual Frame Buffer (XVFB)
Expand Down Expand Up @@ -108,6 +115,7 @@ runs:
- name: "Cache apt packages needed"
uses: awalsh128/cache-apt-pkgs-action@v1
if: ${{ inputs.skip-dependencies-cache == 'false' }}
with:
packages: ${{ env.NEEDED_DEPS }}
version: 1.0
Expand Down

0 comments on commit deebadf

Please sign in to comment.