Fix if condition for upload-logs step

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:
Leroy Hopson 2023-01-14 23:21:48 +13:00
parent 9b3b2b590c
commit 0ef6349409
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA

View file

@ -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 }}