How can I set QtMsBuild macro in GitHub workflow?
Unsolved
General and Desktop
-
# Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout uses: actions/checkout@v2 - name: Create QtCache id: cache-qt uses: actions/cache@v1 with: path: ../Qt key: ${{ runner.os }}-QtCache - name: Install Qt uses: jurplel/install-qt-action@v2 with: version: '5.14.0' #cached: ${{ steps.cache-qt.outputs.cache-hit }} - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v1 - name: Restore NuGet packages working-directory: ${{env.GITHUB_WORKSPACE}} run: nuget restore ${{env.SOLUTION_FILE_PATH}} - name: Build working-directory: ${{env.GITHUB_WORKSPACE}} # Add additional options to the MSBuild command line here (like platform or verbosity level). # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
While build process I am getting this error.
Is there any way to solve this error using msbuild.exe? (I am getting this issue in GitVirtual environment not in local system.)
project is work fine in my local system.QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly.