revise version

This commit is contained in:
Hongtao Zhang 2024-03-26 17:58:48 -05:00
parent 286f49c3a3
commit 7df7ac083f
3 changed files with 9 additions and 6 deletions

View file

@ -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

View file

@ -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")]

View file

@ -4,6 +4,7 @@
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0-windows10.0.19041.0</TargetFramework>
<UseWPF>true</UseWPF>
<Version>1.0.0</Version>
<UseWindowsForms>true</UseWindowsForms>
<StartupObject>Flow.Launcher.App</StartupObject>
<ApplicationIcon>Resources\app.ico</ApplicationIcon>