diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a7daa46..6750d42 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: uses: ./ - name: Run build result - run: ./build/hello_world + run: build/hello_world use-action-with-specified-source-dir: runs-on: ubuntu-latest @@ -30,7 +30,7 @@ jobs: source-dir: test - name: Run build result - run: ./build/hello_world + run: build/hello_world use-action-with-specified-build-dir: runs-on: ubuntu-latest diff --git a/action.yml b/action.yml index be3c60a..dfd4d4b 100644 --- a/action.yml +++ b/action.yml @@ -19,8 +19,8 @@ runs: - name: Process inputs shell: bash run: | - CONFIGURE_ARGS="'${{ inputs.source-dir }}' -B '${{ inputs.build-dir }}'" - BUILD_ARGS="--build '${{ inputs.build-dir }}'" + CONFIGURE_ARGS="${{ inputs.source-dir }} -B ${{ inputs.build-dir }}" + BUILD_ARGS="--build ${{ inputs.build-dir }}" echo "CMAKE_CONFIGURE_ARGS=$CONFIGURE_ARGS" >> $GITHUB_ENV echo "CMAKE_BUILD_ARGS=$BUILD_ARGS" >> $GITHUB_ENV