From 489959ced9ed2997e41293509114589a219a2900 Mon Sep 17 00:00:00 2001 From: "Thing-han, Lim" <15379156+potsrevennil@users.noreply.github.com> Date: Thu, 12 Sep 2024 15:51:55 +0800 Subject: [PATCH] fix if argument is empty string Signed-off-by: Thing-han, Lim <15379156+potsrevennil@users.noreply.github.com> --- .github/actions/bench/action.yml | 2 +- .github/actions/functest/action.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/bench/action.yml b/.github/actions/bench/action.yml index a288b79a9..3f463bc9d 100644 --- a/.github/actions/bench/action.yml +++ b/.github/actions/bench/action.yml @@ -62,7 +62,7 @@ runs: - name: Run benchmark shell: ${{ env.SHELL }} run: | - tests bench -c ${{ inputs.perf }} --cflags "${{ inputs.cflags }}" --arch-flags "${{ inputs.archflags }}" --opt "${{ inputs.opt }}" -v --output output.json ${{ inputs.bench_extra_args }} + tests bench -c ${{ inputs.perf }} --cflags="${{ inputs.cflags }}" --arch-flags="${{ inputs.archflags }}" --opt="${{ inputs.opt }}" -v --output=output.json ${{ inputs.bench_extra_args }} - name: Store benchmark result if: ${{ inputs.store_results }} uses: benchmark-action/github-action-benchmark@v1 diff --git a/.github/actions/functest/action.yml b/.github/actions/functest/action.yml index 2b81aae65..4aa259f4c 100644 --- a/.github/actions/functest/action.yml +++ b/.github/actions/functest/action.yml @@ -42,7 +42,7 @@ runs: shell: ${{ env.SHELL }} run: | echo "::group::func_test" - tests func --cross-prefix=${{ inputs.cross-prefix }} --cflags ${{ inputs.cflags }} --opt ${{inputs.opt}} -v + tests func --cross-prefix=${{ inputs.cross-prefix }} --cflags=${{ inputs.cflags }} --opt=${{inputs.opt}} -v echo "::endgroup::" - name: Run KAT tests if: | @@ -52,7 +52,7 @@ runs: shell: ${{ env.SHELL }} run: | echo "::group::kat_test" - tests kat --cross-prefix=${{ inputs.cross-prefix }} --cflags ${{ inputs.cflags }} --opt ${{inputs.opt}} -v + tests kat --cross-prefix=${{ inputs.cross-prefix }} --cflags=${{ inputs.cflags }} --opt=${{inputs.opt}} -v echo "::endgroup::" - name: Run Nistkat tests id: nistkat_test @@ -63,5 +63,5 @@ runs: shell: ${{ env.SHELL }} run: | echo "::group::nistkat_test" - tests nistkat --cross-prefix=${{ inputs.cross-prefix }} --cflags ${{ inputs.cflags }} --opt ${{inputs.opt}} -v + tests nistkat --cross-prefix=${{ inputs.cross-prefix }} --cflags=${{ inputs.cflags }} --opt=${{inputs.opt}} -v echo "::endgroup::"