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
1 changed files with 1 additions and 1 deletions
|
@ -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