Skip to content

Commit

Permalink
fix template publish problems (#186)
Browse files Browse the repository at this point in the history
* fix: lowercase path on publish template action

* fix: change PackageId
  • Loading branch information
Azaferany authored Oct 25, 2022
1 parent 3c48ad6 commit 7b66782
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
dotnet build -c Release --no-restore
dotnet test -c Release --no-build
- name: Create the package
run: dotnet pack Sample/Sample.WeatherForecast/templatepack.csproj -c Release --output nupkgs
run: dotnet pack sample/Sample.WeatherForecast/templatepack.csproj -c Release --output nupkgs
- name: Publish the package to NuGet.org
env:
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
Expand Down
2 changes: 1 addition & 1 deletion sample/Sample.WeatherForecast/templatepack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<PackageType>Template</PackageType>
<Version>4.0.1</Version>
<PackageId>Ardalis.ApiEndpoints</PackageId>
<PackageId>Ardalis.ApiEndpoints.Templates</PackageId>
<Title>Ardalis.ApiEndpoint</Title>
<Authors>Steve Smith @ardalis, Ali zaferany</Authors>
<Description>A project template for creating an ASP.NET Core application with an example ApiEndpoints for a RESTful HTTP service.</Description>
Expand Down

0 comments on commit 7b66782

Please sign in to comment.