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