Skip to content

Commit

Permalink
ci: strip html and include readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aloisdg committed Jan 13, 2022
1 parent c3c6de7 commit 34f15aa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test -c Release
- name: Strip HTML from README
uses: d-edge/[email protected]
with:
input-path: README.md
output-path: src/Dedge.Cardizer/README.md
- name: Pack
if: matrix.os == 'ubuntu-latest'
run: dotnet pack -v normal -c Release --no-restore --include-symbols --include-source -p:PackageVersion=$GITHUB_RUN_ID src/$PROJECT_NAME/$PROJECT_NAME.*proj
Expand Down
6 changes: 5 additions & 1 deletion src/Dedge.Cardizer/Dedge.Cardizer.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<!-- General -->
<!-- General -->
<AssemblyName>Dedge.Cardizer</AssemblyName>
<Description>A functional minimalist credit card randomizer to test application.</Description>
<Copyright>Copyright 2021 D-EDGE</Copyright>
Expand Down Expand Up @@ -34,6 +34,8 @@

<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<NoWarn>FS2003;FS0044</NoWarn>

<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -42,6 +44,8 @@
<Pack>true</Pack>
<PackagePath>$(PackageIconUrl)</PackagePath>
</None>

<None Include="README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 34f15aa

Please sign in to comment.