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:
13
13
14
14
jobs :
15
15
build :
16
-
17
16
runs-on : windows-latest
18
17
19
18
steps :
@@ -22,26 +21,24 @@ jobs:
22
21
uses : actions/setup-dotnet@v4
23
22
with :
24
23
dotnet-version : 7.0.x
25
- - name : get version
24
+ - name : Get version
26
25
id : version
27
26
uses : notiz-dev/github-action-json-property@release
28
27
with :
29
- path : ' Flow.Launcher.Plugin.KubernetesContextSwitcher/ plugin.json'
28
+ path : ' plugin.json'
30
29
prop_path : ' Version'
31
30
- run : echo ${{steps.version.outputs.prop}}
32
31
- name : Restore
33
32
run : |
34
- cd Flow.Launcher.Plugin.KubernetesContextSwitcher
35
33
dotnet restore
36
34
- name : Build
37
35
run : |
38
- cd Flow.Launcher.Plugin.KubernetesContextSwitcher
39
36
dotnet publish -c Release -r win-x64 --no-self-contained Flow.Launcher.Plugin.KubernetesContextSwitcher.csproj
40
37
7z a -tzip "Flow.Launcher.Plugin.KubernetesContextSwitcher.zip" "./bin/Release/win-x64/publish/*"
41
38
- name : Publish
42
39
uses : softprops/action-gh-release@v2
43
40
with :
44
- files : " Flow.Launcher.Plugin.KubernetesContextSwitcher/Flow.Launcher.Plugin.KubernetesContextSwitcher .zip"
41
+ files : " Flow.Launcher.Plugin.KubernetesContextSwitcher.zip"
45
42
tag_name : " v${{steps.version.outputs.prop}}"
46
43
env :
47
44
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 7
7
"Version" : " 1.0.1" ,
8
8
"Language" : " csharp" ,
9
9
"Website" : " https://github.com/r-studio/Flow.Launcher.Plugin.KubernetesContextSwitcher" ,
10
- "IcoPath" : " Images\\ k8s.png" ,
10
+ "IcoPath" : " Images/ k8s.png" ,
11
11
"ExecuteFileName" : " Flow.Launcher.Plugin.KubernetesContextSwitcher.dll" ,
12
12
"Disabled" : false
13
13
}
You can’t perform that action at this time.
0 commit comments