diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 38923452c..4b6310284 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -20,12 +20,8 @@ jobs:
runs-on: windows-latest
steps:
- - name: Initialize Service
- run: |
- sc config WSearch start= auto # Starts Windows Search service- Needed for running ExplorerTest
- net start WSearch
- uses: actions/checkout@v4
- - name: Set MyProject.csproj version
+ - name: Set Flow.Launcher.csproj version
id: update
uses: vers-one/dotnet-project-version-updater@v1.5
with:
@@ -60,6 +56,10 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c Release
+ - name: Initialize Service
+ run: |
+ sc config WSearch start= auto # Starts Windows Search service- Needed for running ExplorerTest
+ net start WSearch
- name: Test
run: dotnet test --no-build --verbosity normal -c Release
- name: Perform post_build tasks
diff --git a/Flow.Launcher.Core/Properties/AssemblyInfo.cs b/Flow.Launcher.Core/Properties/AssemblyInfo.cs
index ad60e2c9f..4a55f96cd 100644
--- a/Flow.Launcher.Core/Properties/AssemblyInfo.cs
+++ b/Flow.Launcher.Core/Properties/AssemblyInfo.cs
@@ -1,3 +1,5 @@
-using System.Runtime.CompilerServices;
+using System.Reflection;
+using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Flow.Launcher.Test")]
+[assembly: AssemblyVersion("1.0.0")]
diff --git a/Flow.Launcher/Flow.Launcher.csproj b/Flow.Launcher/Flow.Launcher.csproj
index 893d9515f..4049d5bbc 100644
--- a/Flow.Launcher/Flow.Launcher.csproj
+++ b/Flow.Launcher/Flow.Launcher.csproj
@@ -4,6 +4,7 @@
WinExe
net7.0-windows10.0.19041.0
true
+ 1.0.0
true
Flow.Launcher.App
Resources\app.ico