mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 10:45:29 +00:00
Fix if condition for upload-logs step (#87)
Previously the if condition was always evaluating to a truthy string (e.g. 'false == "true"' or 'true == "true"') as the string comparison (`== 'true'`) was not inside the expression syntax (`${{ }}`) and thus being treated as a string rather than being evaluated.
This commit is contained in:
parent
9b3b2b590c
commit
9b2b4f2004
|
@ -73,7 +73,7 @@ runs:
|
|||
shell: bash
|
||||
|
||||
- id: upload-logs
|
||||
if: ${{ inputs.debug }} == "true"
|
||||
if: ${{ inputs.debug == 'true' }}
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: cache-apt-pkgs-logs%${{ inputs.packages }}%${{ inputs.version }}
|
||||
|
|
Loading…
Reference in a new issue