From 334ba60346aea83798aa725339ffe22745ac05a8 Mon Sep 17 00:00:00 2001 From: Owen Young Date: Thu, 28 Jan 2021 09:40:56 +0800 Subject: [PATCH] fix: build args check --- .github/workflows/actionsflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actionsflow.yml b/.github/workflows/actionsflow.yml index 359e8ea..8809ed9 100644 --- a/.github/workflows/actionsflow.yml +++ b/.github/workflows/actionsflow.yml @@ -29,7 +29,7 @@ jobs: - name: Run Actionsflow uses: actionsflow/actionsflow-action@v1 with: - args: build --include ${{ github.event.inputs.include }} -f ${{github.event.inputs.force}} --verbose ${{github.event.inputs.verbose}} + args: "build --include ${{ github.event.inputs.include || ''}} -f ${{github.event.inputs.force=='true' && 'true' || 'false'}} --verbose ${{github.event.inputs.verbose=='true' && 'true' || 'false'}}" json-secrets: ${{ toJSON(secrets) }} json-github: ${{ toJSON(github) }} - name: Setup act