File tree Expand file tree Collapse file tree 7 files changed +44
-26
lines changed
Flow.Launcher.Plugin.KubernetesContextSwitcher Expand file tree Collapse file tree 7 files changed +44
-26
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ permissions:
1313
1414jobs :
1515 build :
16-
1716 runs-on : windows-latest
1817
1918 steps :
@@ -22,26 +21,24 @@ jobs:
2221 uses : actions/setup-dotnet@v4
2322 with :
2423 dotnet-version : 7.0.x
25- - name : get version
24+ - name : Get version
2625 id : version
2726 uses : notiz-dev/github-action-json-property@release
2827 with :
29- path : ' Flow.Launcher.Plugin.KubernetesContextSwitcher/ plugin.json'
28+ path : ' plugin.json'
3029 prop_path : ' Version'
3130 - run : echo ${{steps.version.outputs.prop}}
3231 - name : Restore
3332 run : |
34- cd Flow.Launcher.Plugin.KubernetesContextSwitcher
3533 dotnet restore
3634 - name : Build
3735 run : |
38- cd Flow.Launcher.Plugin.KubernetesContextSwitcher
3936 dotnet publish -c Release -r win-x64 --no-self-contained Flow.Launcher.Plugin.KubernetesContextSwitcher.csproj
4037 7z a -tzip "Flow.Launcher.Plugin.KubernetesContextSwitcher.zip" "./bin/Release/win-x64/publish/*"
4138 - name : Publish
4239 uses : softprops/action-gh-release@v2
4340 with :
44- files : " Flow.Launcher.Plugin.KubernetesContextSwitcher/Flow.Launcher.Plugin.KubernetesContextSwitcher .zip"
41+ files : " Flow.Launcher.Plugin.KubernetesContextSwitcher.zip"
4542 tag_name : " v${{steps.version.outputs.prop}}"
4643 env :
4744 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+
3+ <PropertyGroup >
4+ <TargetFramework >net7.0-windows7.0</TargetFramework >
5+ <ImplicitUsings >enable</ImplicitUsings >
6+ <Nullable >enable</Nullable >
7+ <AssemblyName >Flow.Launcher.Plugin.KubernetesContextSwitcher</AssemblyName >
8+ <RootNamespace >Flow.Launcher.Plugin.KubernetesContextSwitcher</RootNamespace >
9+ <CopyLocalLockFileAssemblies >true</CopyLocalLockFileAssemblies >
10+ <Version >1.0.1</Version >
11+ <Authors >Robin Hermann</Authors >
12+ <Description >A Flow Launcher plugin to switch Kubernetes contexts quickly</Description >
13+ <PackageId >Flow.Launcher.Plugin.KubernetesContextSwitcher</PackageId >
14+ <PackageProjectUrl >https://github.com/R-Studio/Flow.Launcher.Plugin.KubernetesContextSwitcher</PackageProjectUrl >
15+ <RepositoryUrl >https://github.com/R-Studio/Flow.Launcher.Plugin.KubernetesContextSwitcher</RepositoryUrl >
16+ </PropertyGroup >
17+
18+ <ItemGroup >
19+ <PackageReference Include =" Flow.Launcher.Plugin" Version =" 4.6.0" />
20+ </ItemGroup >
21+
22+ <ItemGroup >
23+ <Content Include =" plugin.json" >
24+ <CopyToOutputDirectory >Always</CopyToOutputDirectory >
25+ </Content >
26+ </ItemGroup >
27+
28+ <ItemGroup >
29+ <None Update =" images\k8s.png" >
30+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
31+ </None >
32+ </ItemGroup >
33+
34+ <ItemGroup >
35+ <None Update =" images\error.png" >
36+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
37+ </None >
38+ </ItemGroup >
39+
40+ </Project >
Load Diff This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 77 "Version" : " 1.0.1" ,
88 "Language" : " csharp" ,
99 "Website" : " https://github.com/r-studio/Flow.Launcher.Plugin.KubernetesContextSwitcher" ,
10- "IcoPath" : " Images\\ k8s.png" ,
10+ "IcoPath" : " Images/ k8s.png" ,
1111 "ExecuteFileName" : " Flow.Launcher.Plugin.KubernetesContextSwitcher.dll" ,
1212 "Disabled" : false
1313}
You can’t perform that action at this time.
0 commit comments