Skip to content

Commit 6e8cd25

Browse files
committed
Embed README in nuget package
1 parent 0a508e7 commit 6e8cd25

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v1
1818
with:
19-
dotnet-version: 6.0.100
19+
dotnet-version: 6.0.102
2020
- name: Restore dependencies
2121
run: dotnet restore
2222
- name: Build

.github/workflows/pack-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
- name: Setup .NET
1616
uses: actions/setup-dotnet@v1
1717
with:
18-
dotnet-version: 6.0.100
18+
dotnet-version: 6.0.102
1919
- name: Restore dependencies
2020
run: dotnet restore
2121
- name: Build
22-
run: dotnet build -warnaserror --no-restore
22+
run: VERSION=${GITHUB_REF##*/} dotnet build -warnaserror --no-restore
2323
- name: Test
2424
run: dotnet test --no-build --verbosity normal
2525
- name: Pack

FsCloudInit/FsCloudInit.fsproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<Authors>Dave Curylo</Authors>
66
<Copyright>2021 Dave Curylo</Copyright>
77
<PackageProjectUrl>https://github.com/ninjarobot/FsCloudInit</PackageProjectUrl>
8+
<PackageReadmeFile>README.md</PackageReadmeFile>
89
<Description>Build cloud-init configuration files with F#.</Description>
910
<RepositoryUrl>https://github.com/ninjarobot/FsCloudInit</RepositoryUrl>
1011
<PackageTags>cloudinit</PackageTags>
@@ -13,6 +14,7 @@
1314

1415
<ItemGroup>
1516
<None Include="../LICENSE" Pack="true" PackagePath="" />
17+
<None Include="../README.md" Pack="true" PackagePath="\" />
1618
</ItemGroup>
1719

1820
<ItemGroup>

0 commit comments

Comments
 (0)