Skip to content

Commit

Permalink
updated action
Browse files Browse the repository at this point in the history
  • Loading branch information
w8tcha committed Oct 7, 2023
1 parent 275bda9 commit 31efe8c
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ jobs:
dotnet-version: [ '7.0.x' ]

steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore OEmbedSharp.sln
run: dotnet restore
- name: Build
run: dotnet build OEmbedSharp.sln
run: dotnet build
- name: Test
run: dotnet test OEmbedSharp.sln
run: dotnet test
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageProjectUrl>https://github.com/w8tcha/OEmbedSharp</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/w8tcha/OEmbedSharp/blob/master/LICENSE.md</PackageLicenseUrl>
<PackageIcon>../oembed.png</PackageIcon>
<PackageIcon>oembed.png</PackageIcon>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/w8tcha/OEmbedSharp.git</RepositoryUrl>
<DebugType>embedded</DebugType>
Expand Down
1 change: 0 additions & 1 deletion OEmbedSharp.Tests/ProviderTests/YouTubeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public void CanEmbedTest(string url)
}

#if NET481

[Theory]
[InlineData("https://youtu.be/LKWFkELeYwc")]
[InlineData("http://youtu.be/LKWFkELeYwc")]
Expand Down
6 changes: 6 additions & 0 deletions OEmbedSharp/OEmbedSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<TargetFrameworks>net481;net6.0;net7.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<Description>C# oEmbed consumer library for .NET Framwork 4.8.1 and .NET (Core) 6/7</Description>
<PackageTags>oembed;embed</PackageTags>
<PackageIcon>oembed.png</PackageIcon>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
Expand All @@ -17,4 +19,8 @@
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup>
<None Include="oembed.png" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
Binary file added OEmbedSharp/oembed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# OEmbedSharp
===========

C# [oEmbed](https://oembed.com) consumer library for .NET Framwork 4.8.1 and .NET (Core) 6/7

Expand Down
Binary file removed oembed.png
Binary file not shown.

0 comments on commit 31efe8c

Please sign in to comment.