mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-20 02:31:20 +00:00
commit
137e9d558f
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user