File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -58,20 +58,13 @@ jobs:
58
58
shell : bash
59
59
run : |
60
60
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
61
-
62
- - name : Set reusable strings
63
- # Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
64
- id : strings2
65
- shell : bash
66
- run : |
67
- echo "build-artifacts-dir=${{ github.workspace }}/artifacts" >> "$GITHUB_ARTIFACTS"
68
61
69
62
- name : Configure CMake
70
63
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
71
64
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
72
65
run : >
73
66
cmake -B ${{ steps.strings.outputs.build-output-dir }}
74
- -DCMAKE_INSTALL_PREFIX=${{ steps.strings2.outputs.build-artifacts-dir }}
67
+ -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/artifacts
75
68
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
76
69
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
77
70
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
91
84
run : cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target Install
92
85
93
86
- name : List artifacts
94
- working-directory : ${{ steps.strings.outputs2.build-artifacts-dir }}
87
+ working-directory : ${{ github.workspace }}/artifacts
95
88
run : |
96
89
pwd
97
90
ls
You can’t perform that action at this time.
0 commit comments