Skip to content

Commit

Permalink
Workflow: Added constant to publish. #minor
Browse files Browse the repository at this point in the history
  • Loading branch information
skst committed Apr 28, 2024
1 parent 4bd30f8 commit 6ffbb86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 6ffbb86

Please sign in to comment.