Skip to content

fix workflow file

fix workflow file #3

name: ZEngine Window CMake Build
on:
push:
branches: [ newcmakelinux ]
jobs:
Windows-CMake-Build:
runs-on: windows-latest
steps:
- name: Checkout repository
-uses: actions/checkout@v3

Check failure on line 13 in .github/workflows/windowsbuildcmake.yml

View workflow run for this annotation

GitHub Actions / ZEngine Window CMake Build

Invalid workflow file

The workflow is not valid. .github/workflows/windowsbuildcmake.yml (Line: 13, Col: 7): Unexpected value '-uses' .github/workflows/windowsbuildcmake.yml (Line: 14, Col: 7): '-uses' is already defined
-uses: humbletim/vsdevenv-shell@v2
- name: Create CMake Build Directory
shell: vsdevenv x64 pwsh {0}
run: mkdir ../build && cmake -B ../build -DCMAKE_BUILD_TYPE=Debug -G Ninja
- name: Build
shell: vsdevenv x64 pwsh {0}
run: cmake --build ../build
- name: Test
shell: vsdevenv x64 pwsh {0}
run: ctest .
working-directory: ../build/ZEngine/tests