Skip to content

Commit

Permalink
Merge pull request #97 from md-owes/develop
Browse files Browse the repository at this point in the history
+semver: skip | changed command from publish to build for generating exe artifacts. This fixes #95
  • Loading branch information
md-owes authored Aug 2, 2023
2 parents 3d0bb4a + 14b3dad commit e349380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ jobs:
run: dotnet restore directory-deleter\directory-deleter.csproj

- name: Publish MAUI MSIX
run: dotnet publish -p:Configuration=Release -p:RestorePackages=false -p:TargetFramework=net7.0-windows10.0.22621.0 -p:GenerateAppxPackageOnBuild=true -p:AppxPackageDir=${{github.workspace}}\${{env.PUBLISH_DIR}}\msix\
run: dotnet publish -p:TargetFramework=net7.0-windows10.0.22621.0 -p:Configuration=Release -p:RestorePackages=false -p:GenerateAppxPackageOnBuild=true -p:AppxPackageDir=${{github.workspace}}\${{env.PUBLISH_DIR}}\msix\

- name: Publish MAUI EXE
run: dotnet publish -p:TargetFramework=net7.0-windows10.0.22621.0 -p:RuntimeIdentifier=win10-x64 -p:SelfContained=true -p:Configuration=Release -p:RestorePackages=false -p:WindowsPackageType=None -o ${{github.workspace}}\${{env.PUBLISH_DIR}}\exe
run: dotnet build -p:TargetFramework=net7.0-windows10.0.22621.0 -p:Configuration=Release -p:RestorePackages=false -p:WindowsPackageType=None -o ${{github.workspace}}\${{env.PUBLISH_DIR}}\exe

- name: Display path information
run: |
Expand Down

0 comments on commit e349380

Please sign in to comment.