Skip to content

Commit

Permalink
#19 package.yml fixes + version bump + readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian-Webster committed Dec 7, 2023
1 parent 793b909 commit b2d57f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
echo "Changes detected in Extensions/DataAccess.Repository.HotChocolate project. Restoring packages and running build..."
dotnet restore 'Extensions/DataAccess.Repository.HotChocolate'
dotnet build --configuration Release 'Extensions/DataAccess.Repository.HotChocolate'
dotnet nuget push "DataAccess.Repository/bin/Release/*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source "github" --skip-duplicate
dotnet nuget push "Extensions/DataAccess.Repository.HotChocolate/bin/Release/*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source "github" --skip-duplicate
else
echo "No changes in Extensions/DataAccess.Repository.HotChocolate project. Skipping build and packing"
fi
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<Description>Extension to the DataAccess package adding GraphQL functionality via the HotChocolate library</Description>
<PackageProjectUrl>https://github.com/Ian-Webster/DataAccess/Extensions/DataAccess.Repository.HotChocolate</PackageProjectUrl>
<RepositoryUrl>https://github.com/Ian-Webster/DataAccess</RepositoryUrl>
<VersionPrefix>0.3.1</VersionPrefix>
<VersionPrefix>1.0.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DataAccess.Repository" Version="2.0.0-wip" />
<PackageReference Include="DataAccess.Repository" Version="2.0.5" />
<PackageReference Include="HotChocolate" Version="13.7.0" />
<PackageReference Include="HotChocolate.AspNetCore" Version="13.7.0" />
<PackageReference Include="HotChocolate.Data" Version="13.7.0" />
Expand Down
1 change: 1 addition & 0 deletions Extensions/DataAccess.Repository.HotChocolate/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ This extension provides GraphQL query functionality via the [HotChocolate Librar
1. [HotChocolate](https://www.nuget.org/packages/HotChocolate/13.7.0?_src=template)
2. [HotChocolate.Data](https://www.nuget.org/packages/HotChocolate.Data/13.7.0?_src=template)
3. [DataAccess.Repository](https://github.com/Ian-Webster/DataAccess/pkgs/nuget/DataAccess.Repository)
4. [DataAccess.Repository.HotChocolate](https://github.com/Ian-Webster/DataAccess/pkgs/nuget/DataAccess.Repository.HotChocolate)
4. Modify your IoC services to add and configure HotChocolate;
```csharp
// set up HotChocolate
Expand Down

0 comments on commit b2d57f3

Please sign in to comment.