Skip to content

Commit

Permalink
including README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nik-solcast committed Oct 23, 2024
1 parent 4715b8b commit 319e582
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
- name: Run tests
run: dotnet test

- name: Copy README.md to the project folder
run: cp README.md src/Solcast/README.md

- name: Pack NuGet Package
run: dotnet pack --configuration Release --output ./nupkg --version ${{ github.ref_name }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy Docs

on:
workflow_run:
workflows: ["Build and Test"] # Name of the build workflow
workflows: ["Build, Test, and Publish NuGet Package"] # Name of the build workflow
types:
- completed

Expand Down
4 changes: 0 additions & 4 deletions src/Solcast/Solcast.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
<OutputPath>bin\Debug\</OutputPath>
</PropertyGroup>

<Target Name="CopyReadme" BeforeTargets="Pack">
<Copy SourceFiles="../../README.md" DestinationFolder="$(ProjectDir)" />
</Target>

<ItemGroup>
<None Update="README.md">
<Pack>true</Pack>
Expand Down

0 comments on commit 319e582

Please sign in to comment.