Skip to content

Commit

Permalink
Removed release type trigger from pipeline.
Browse files Browse the repository at this point in the history
Fixed Hooki csproj reference and also added the nuget package to the nuget package to meet .net standards
  • Loading branch information
adamthewilliam committed Sep 30, 2024
1 parent a4de562 commit f0fcd3e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/pack-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ on:
branches: ["main"]
tags: ["v*.*.*"] # Publish semver tags as releases.
pull_request:
branches: ["main"]
release:
types:
- published # Run the workflow when a new GitHub release is published
branches: ["main"]

env:
SOLUTION_DIR: src/Hooki
Expand Down
1 change: 1 addition & 0 deletions src/Hooki/Hooki.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<ItemGroup>
<Folder Include="Discord\JsonConverters\" />
<Folder Include="MicrosoftTeams\JsonConverters\" />
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions src/Hooki/Hooki.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hooki", "Hooki.csproj", "{4E79DB1B-84E2-4364-9407-1329BAF14F8C}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hooki", ".\Hooki.csproj", "{4E79DB1B-84E2-4364-9407-1329BAF14F8C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -13,4 +13,4 @@ Global
{4E79DB1B-84E2-4364-9407-1329BAF14F8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4E79DB1B-84E2-4364-9407-1329BAF14F8C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
EndGlobal

0 comments on commit f0fcd3e

Please sign in to comment.