fix(action): conditions where always true

Why tho T-T
This commit is contained in:
Jalil David Salamé Messina 2024-12-15 20:49:57 +01:00
parent 02a57089f5
commit 6e8072a14d
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -38,12 +38,12 @@ runs:
"$GITHUB_ACTION_PATH/create-report.sh"
- name: Upload Artifact
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
if: inputs.generate-artifact
if: inputs.generate-artifact == 'true'
with:
path: size-report.md
name: inputs.artifact-name
name: ${{ inputs.artifact-name }}
- name: Upload Report
if: inputs.comment-on-pr
if: inputs.comment-on-pr == 'true'
run: |
set -eu