From 9e7b104c628e678c5739e8f4c03352bb742886f4 Mon Sep 17 00:00:00 2001 From: fazelukario Date: Thu, 9 Nov 2023 17:20:24 +0200 Subject: [PATCH] Add more flexibility to CI --- .github/workflows/msbuild.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index c93703e..c1b5366 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -4,7 +4,7 @@ on: [push, pull_request] env: # Path to the solution file relative to the root of the project. - SOLUTION_FILE_PATH: .\Pseudo3DCLIGame\Pseudo3DCLIGame.vcxproj + SOLUTION_FILE_PATH: .\${{ vars.REPOSITORY_NAME }}\${{ vars.REPOSITORY_NAME }}.vcxproj # Configuration type to build. # You can convert this to a build matrix if you need coverage of multiple configuration types. @@ -48,7 +48,7 @@ jobs: name: ${{ vars.REPOSITORY_NAME }}-build-${{ matrix.os }}-${{ matrix.configuration }}-${{ matrix.platform }}-${{ github.sha }} # optional, default is artifact # A file, directory or wildcard pattern that describes what to upload - path: Pseudo3DCLIGame\${{ matrix.platform == 'x64' && 'x64\' || '' }}${{ matrix.configuration }} + path: ${{ vars.REPOSITORY_NAME }}\${{ matrix.platform == 'x64' && 'x64\' || '' }}${{ matrix.configuration }} # The desired behavior if no files are found using the provided path. # Available Options: