mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-20 18:17:15 +00:00
Add debug option.
This commit is contained in:
parent
ad4e1d0e48
commit
db80483921
|
@ -20,7 +20,10 @@ inputs:
|
|||
default: 'false'
|
||||
refresh:
|
||||
description: 'OBSOLETE, use version instead.'
|
||||
|
||||
debug:
|
||||
description: 'Debug issues with action. Minor performance penalty.'
|
||||
required: false
|
||||
default: 'false'
|
||||
|
||||
outputs:
|
||||
cache-hit:
|
||||
|
@ -68,6 +71,7 @@ runs:
|
|||
shell: bash
|
||||
|
||||
- id: upload-logs
|
||||
if: ${{ inputs.debug }} == "true"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ inputs.packages }}%${{ inputs.version }}
|
||||
|
|
Loading…
Reference in a new issue