Skip to content

Commit fc4c4f6

Browse files
committed
Fix release notes heredoc indentation and remove invalid GITHUB_OUTPUT line
1 parent d9f63f5 commit fc4c4f6

1 file changed

Lines changed: 16 additions & 18 deletions

File tree

.github/workflows/continuous-integration-workflow.yml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -59,25 +59,23 @@ jobs:
5959
dotnet nuget push ./artifacts/*.nupkg --source NuGet.org --api-key ${{ secrets.NUGET_API_KEY }}
6060
- name: Generate release notes with NuGet links
6161
if: ${{ env.PUBLISH_PACKAGE }}
62-
id: release_notes
6362
run: |
64-
cat > release_notes.md << 'EOF'
65-
## NuGet Packages
66-
67-
This release includes the following NuGet packages:
68-
69-
- [CompaniesHouse](https://www.nuget.org/packages/CompaniesHouse/${{ env.VERSION }}) - Core .NET client for Companies House API
70-
- [CompaniesHouse.Extensions.Microsoft.DependencyInjection](https://www.nuget.org/packages/CompaniesHouse.Extensions.Microsoft.DependencyInjection/${{ env.VERSION }}) - DI helpers for ASP.NET Core / generic-host apps
71-
72-
Install via:
73-
```
74-
dotnet add package CompaniesHouse
75-
dotnet add package CompaniesHouse.Extensions.Microsoft.DependencyInjection
76-
```
77-
78-
See the [README](https://github.com/kevbite/CompaniesHouse.NET#readme) for usage instructions.
79-
EOF
80-
echo "release_body=$(cat release_notes.md)" >> $GITHUB_OUTPUT
63+
cat > release_notes.md <<EOF
64+
## NuGet Packages
65+
66+
This release includes the following NuGet packages:
67+
68+
- [CompaniesHouse](https://www.nuget.org/packages/CompaniesHouse/${{ env.VERSION }}) - Core .NET client for Companies House API
69+
- [CompaniesHouse.Extensions.Microsoft.DependencyInjection](https://www.nuget.org/packages/CompaniesHouse.Extensions.Microsoft.DependencyInjection/${{ env.VERSION }}) - DI helpers for ASP.NET Core / generic-host apps
70+
71+
Install via:
72+
\`\`\`
73+
dotnet add package CompaniesHouse
74+
dotnet add package CompaniesHouse.Extensions.Microsoft.DependencyInjection
75+
\`\`\`
76+
77+
See the [README](https://github.com/kevbite/CompaniesHouse.NET#readme) for usage instructions.
78+
EOF
8179
- name: Create Release
8280
id: create_release
8381
if: ${{ env.PUBLISH_PACKAGE }}

0 commit comments

Comments
 (0)