Skip to content

Commit

Permalink
Merge pull request #10 from lillo42/improve-package-information
Browse files Browse the repository at this point in the history
Improve package information
  • Loading branch information
lillo42 authored Feb 11, 2020
2 parents 8babd78 + ec3d773 commit be827a0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-master.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: Build
on:
push:
branches:
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,3 @@ jobs:
run: dotnet pack ./src/CastForm -c Release --include-source -o ./artifacts/pack -p:PackageVersion=${{env.RELEASE_VERSION}}
- name: Publish to Nuget
run: dotnet nuget push ./artifacts/pack/*.nupkg -k ${{secrets.NUGET_TOKEN}} -s https://api.nuget.org/v3/index.json
- name: Publish to Github
run: dotnet nuget push ./artifacts/pack/*.nupkg -k ${{secrets.NUGET_TOKEN}} -s "github"
- name: Archive Nuget pack
uses: actions/upload-artifact@v1
with:
name: CastForm v${{env.RELEASE_VERSION}}
path: ./artifacts/pack/CastForm ${{env.RELEASE_VERSION}}.nupkg
11 changes: 11 additions & 0 deletions src/Mozilla.IoT.WebThing/Mozilla.IoT.WebThing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,16 @@
<TargetFramework>$(ThingAppTargetFrameworks)</TargetFramework>
<OutputType>Library</OutputType>
<Nullable>enable</Nullable>
<Title>Mozilla.IoT.WebThing</Title>
<Description>Implementation of an HTTP Mozilla Web Thing.</Description>
<RepositoryUrl>https://github.com/lillo42/webthing-csharp</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<IsPackable>true</IsPackable>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>
</Project>

0 comments on commit be827a0

Please sign in to comment.