Skip to content

Commit d37cc9d

Browse files
committed
Update build.yml
1 parent ceff876 commit d37cc9d

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,9 @@ jobs:
6161
-p:FileVersion=${{ steps.version.outputs.BUILD_VERSION }}
6262
-p:InformationalVersion=${{ steps.version.outputs.BUILD_VERSION }}
6363
64-
- name: Publish app (creates the publish folder you artifact)
65-
run: >
66-
dotnet publish ./Cogs.Console.sln
67-
--configuration ${{ env.BUILD_CONFIGURATION }}
68-
--no-build
69-
--no-restore
70-
71-
- name: Upload NuGet package
64+
- name: Upload NuGet package as artifact (now only ONE package)
7265
uses: actions/upload-artifact@v4
7366
with:
74-
name: Cogs.Console.${{ steps.version.outputs.BUILD_VERSION }}.nupkg
75-
path: Cogs.Console/bin/Release/Cogs.Console.${{ steps.version.outputs.BUILD_VERSION }}.nupkg
67+
name: CogsNuGetPackage
68+
path: Cogs.Console/bin/Release/*.nupkg
7669
if-no-files-found: error

0 commit comments

Comments
 (0)