diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 91f2ace..0819c9b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -78,7 +78,7 @@ jobs: # https://docs.microsoft.com/en-us/dotnet/core/tools/ - name: Build working-directory: ./Windows.Source - run: dotnet build ${{env.SOLUTION_FILE_PATH}} --nologo --self-contained --configuration ${{env.BUILD_CONFIGURATION}} --runtime win-x64 --property:"DefineConstants=LICENSING" + run: dotnet build ${{env.SOLUTION_FILE_PATH}} --nologo --self-contained --configuration ${{env.BUILD_CONFIGURATION}} --runtime win-x64 --property:DefineConstants=LICENSING - name: Test working-directory: ./Windows.Source @@ -89,7 +89,7 @@ jobs: - name: Build single-file deployment working-directory: ./Windows.Source # Publish to sibling `release` folder for github-tag-action step. - run: dotnet publish ${{env.SOLUTION_FILE_PATH}} -p:PublishProfile=FolderProfile -o ../release/ + run: dotnet publish ${{env.SOLUTION_FILE_PATH}} --property:PublishProfile=FolderProfile --property:DefineConstants=LICENSING --output ../release/ - name: Copy Files to Publish run: |