Skip to content

Commit

Permalink
Update build.yml with new environment variables
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmed Magdy <[email protected]>
  • Loading branch information
amgdy committed Mar 19, 2024
1 parent 29760e0 commit 2b02909
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
runs-on: windows-2022
env:
APP_PROJECT_PATH: src/Magdys.ScreenPrivacyWatermark.App/Magdys.ScreenPrivacyWatermark.App.csproj
APP_PROJECT_OUTPUT: ${{ env.RUNNER_TEMP }}/app
#APP_PROJECT_OUTPUT: ${{ env.RUNNER_TEMP }}/app
MSI_PROJECT_PATH: src/Magdys.ScreenPrivacyWatermark.Msi/Magdys.ScreenPrivacyWatermark.Msi.wixproj
MSI_PROJECT_OUTPUT: ${{ env.RUNNER_TEMP }}/msi
#MSI_PROJECT_OUTPUT: ${{ env.RUNNER_TEMP }}/msi

steps:
- name: Checkout code
Expand All @@ -44,4 +44,4 @@ jobs:
dotnet-version: 8.0.x

- name: Publish App with .NET
run: dotnet publish src/Magdys.ScreenPrivacyWatermark.App/Magdys.ScreenPrivacyWatermark.App.csproj -c=Release -o=${{ env.APP_PROJECT_OUTPUT }} --p:FileVersion=${{ env.VERSION }} --p:AssemblyVersion=${{ env.VERSION }} --p:Version=${{ env.VERSION }}
run: dotnet publish src/Magdys.ScreenPrivacyWatermark.App/Magdys.ScreenPrivacyWatermark.App.csproj -c=Release -o=$RUNNER_TEMP/app --p:FileVersion=$VERSION --p:AssemblyVersion=$VERSION --p:Version=$VERSION

0 comments on commit 2b02909

Please sign in to comment.