From ce6f9ada334b75c04bd27d9804451f0c14ac662a Mon Sep 17 00:00:00 2001 From: Zebra Date: Wed, 10 Nov 2021 18:32:10 +0100 Subject: [PATCH] change args syntax to support booleans --- action.yml | 41 ++++++++++++++--------------------------- 1 file changed, 14 insertions(+), 27 deletions(-) diff --git a/action.yml b/action.yml index 2d95c9e..4d68656 100644 --- a/action.yml +++ b/action.yml @@ -47,7 +47,7 @@ inputs: use-date-for-filename: description: Use the creation date to generate the post filename. required: false - default: false + default: true use-shortcodes: description: True if you want to generate shortcodes for unimplemented markdown blocks, such as callout or quote. required: false @@ -57,29 +57,16 @@ runs: using: 'docker' image: 'Dockerfile' args: - - -database-id - - ${{ inputs.database-id }} - - -content-folder - - ${{ inputs.content-folder }} - - -images-folder - - ${{ inputs.images-folder }} - - -archetype-file - - ${{ inputs.archetype-file }} - - -property-description - - ${{ inputs.property-description }} - - -property-tags - - ${{ inputs.property-tags }} - - -property-categories - - ${{ inputs.property-categories }} - - -images-link - - ${{ inputs.images-link }} - - -filter-prop - - ${{ inputs.filter-prop }} - - -filter-value - - ${{ inputs.filter-value }} - - -published-value - - ${{ inputs.published-value }} - - -use-date-for-filename - - ${{ inputs.use-date-for-filename }} - - -use-shortcodes - - ${{ inputs.use-shortcodes }} + - -database-id=${{ inputs.database-id }} + - -content-folder=${{ inputs.content-folder }} + - -images-folder=${{ inputs.images-folder }} + - -archetype-file=${{ inputs.archetype-file }} + - -property-description=${{ inputs.property-description }} + - -property-tags=${{ inputs.property-tags }} + - -property-categories=${{ inputs.property-categories }} + - -images-link=${{ inputs.images-link }} + - -filter-prop=${{ inputs.filter-prop }} + - -filter-value=${{ inputs.filter-value }} + - -published-value=${{ inputs.published-value }} + - -use-date-for-filename=${{ inputs.use-date-for-filename }} + - -use-shortcodes=${{ inputs.use-shortcodes }}