File tree Expand file tree Collapse file tree 4 files changed +44
-17
lines changed
Expand file tree Collapse file tree 4 files changed +44
-17
lines changed Original file line number Diff line number Diff line change 1+ name : .NET Core
2+
3+ on :
4+ release :
5+ types :
6+ - published
7+
8+ jobs :
9+ ImageEffects :
10+
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v1
15+ - name : Setup .NET Core
16+ uses : actions/setup-dotnet@v1
17+ with :
18+ dotnet-version : 5.0.x
19+ - name : Build with dotnet
20+ run : dotnet build --configuration Release "./src/WPF.ImageEffects.Demo.sln"
21+ - name : Create the package
22+ run : dotnet pack --configuration Release "./src/WPF.ImageEffects.Demo.sln"
23+ - name : Publish "WPF.ImageEffects" to nuget
24+ run : dotnet nuget push "./src/WPF.ImageEffects/bin/Release/*.nupkg" -s "https://api.nuget.org/v3/index.json" -k ${{secrets.NUGET_API_KEY}}
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFramework >net5.0-windows</TargetFramework >
3+ <TargetFramework >net5.0-windows</TargetFramework >
4+ <Authors >usercode</Authors >
5+ <PackageProjectUrl >https://github.com/usercode/WPF.ImageEffects</PackageProjectUrl >
6+ <Description >GPU-based image effects (brightness, contrast) for WPF</Description >
47 <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
58 <RootNamespace >WPF.ImageEffects</RootNamespace >
69 <AssemblyName >WPF.ImageEffects</AssemblyName >
710 <UseWPF >true</UseWPF >
11+ <Version >1.5.0</Version >
12+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
13+ <PackageIcon >usercode.png</PackageIcon >
14+ <PackageLicenseExpression >MIT</PackageLicenseExpression >
15+ <IncludeSymbols >true</IncludeSymbols >
16+ <SymbolPackageFormat >snupkg</SymbolPackageFormat >
817 </PropertyGroup >
18+
19+ <ItemGroup >
20+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" All" />
21+ </ItemGroup >
22+
923 <ItemGroup >
1024 <Content Include =" Shaders\ImageShader.fx" />
1125 </ItemGroup >
26+
1227 <ItemGroup >
1328 <Resource Include =" Shaders\ImageShader.fxc" />
1429 </ItemGroup >
30+
31+ <ItemGroup >
32+ <None Include =" ..\usercode.png" Pack =" true" PackagePath =" " />
33+ </ItemGroup >
1534</Project >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments