fixed 'uses' error

This commit is contained in:
The-EDev 2023-06-16 14:21:03 +03:00
parent d0001438fe
commit c365201d4f
No known key found for this signature in database
GPG Key ID: 51C45DC0C413DCD9

View File

@ -45,20 +45,21 @@ jobs:
echo "$RUNNER_OS not supported" echo "$RUNNER_OS not supported"
exit 1 exit 1
fi fi
shell: bash shell: bash
- name: Configure CMake - name: Configure CMake
run: | run: |
if [ "$RUNNER_OS" == "Windows" ]; then if [ "$RUNNER_OS" == "Windows" ]; then
cmake \ cmake \
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake \ -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake \
-DCROW_FEATURES="ssl;compression" \ -DCROW_FEATURES="ssl;compression" \
-DCROW_AMALGAMATE=ON \ -DCROW_AMALGAMATE=ON \
-B build -B build
else else
cmake -B build cmake -B build
fi fi
shell: bash shell: bash
- name: Build - name: Build
# Build your program with the given configuration # Build your program with the given configuration
run: cmake --build build --config ${{env.BUILD_TYPE}} run: cmake --build build --config ${{env.BUILD_TYPE}}
@ -84,8 +85,8 @@ jobs:
shell: bash shell: bash
- name: Save PR number - name: Save report
- uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
with: with:
name: coveralls.json name: coveralls.json