actually check boolean values

This commit is contained in:
2025-11-07 14:21:11 -05:00
parent 76743c4685
commit 33a14fb56f

View File

@@ -37,7 +37,7 @@ runs:
- name: Move package
uses: https://git.sanin.dev/packages_test/pkgbase-yaml-parser@master
if: ${{ steps.parsed.outputs.move }}
if: ${{ steps.parsed.outputs.move == 'true' }}
with:
mode: move
parsed-data: ${{ steps.parsed.outputs.parsed-data }}
@@ -46,7 +46,7 @@ runs:
- name: Create publish script
shell: bash
if: ${{ steps.parsed.outputs.build }}
if: ${{ steps.parsed.outputs.build == 'true' }}
run: |
echo "#!/bin/bash
echo '📤️ Uploading package to ${{ gitea.server_url }} ...'
@@ -62,14 +62,14 @@ runs:
- name: Build package
uses: https://git.sanin.dev/packages_test/build-publish/@build
if: ${{ steps.parsed.outputs.build }}
if: ${{ steps.parsed.outputs.build == 'true' }}
with:
username: "${{ inputs.username }}"
token: ${{ inputs.token }}
- name: Delete package
uses: https://git.sanin.dev/packages_test/pkgbase-yaml-parser@master
if: ${{ steps.parsed.outputs.delete }}
if: ${{ steps.parsed.outputs.delete == 'true' }}
with:
mode: delete
parsed-data: ${{ steps.parsed.outputs.parsed-data }}