Merge pull request #6 from threeal/audit-code

Audit Code
This commit is contained in:
Alfi Maulana 2023-01-07 12:09:30 +07:00 committed by GitHub
commit 137e9d558f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ jobs:
uses: ./ uses: ./
- name: Run build result - name: Run build result
run: ./build/hello_world run: build/hello_world
use-action-with-specified-source-dir: use-action-with-specified-source-dir:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -30,7 +30,7 @@ jobs:
source-dir: test source-dir: test
- name: Run build result - name: Run build result
run: ./build/hello_world run: build/hello_world
use-action-with-specified-build-dir: use-action-with-specified-build-dir:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -19,8 +19,8 @@ runs:
- name: Process inputs - name: Process inputs
shell: bash shell: bash
run: | run: |
CONFIGURE_ARGS="'${{ inputs.source-dir }}' -B '${{ inputs.build-dir }}'" CONFIGURE_ARGS="${{ inputs.source-dir }} -B ${{ inputs.build-dir }}"
BUILD_ARGS="--build '${{ inputs.build-dir }}'" BUILD_ARGS="--build ${{ inputs.build-dir }}"
echo "CMAKE_CONFIGURE_ARGS=$CONFIGURE_ARGS" >> $GITHUB_ENV echo "CMAKE_CONFIGURE_ARGS=$CONFIGURE_ARGS" >> $GITHUB_ENV
echo "CMAKE_BUILD_ARGS=$BUILD_ARGS" >> $GITHUB_ENV echo "CMAKE_BUILD_ARGS=$BUILD_ARGS" >> $GITHUB_ENV