Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit 3599c0d

Browse files
author
Morten Turn Pedersen
authored
Merge pull request #13 from nodes-dotnet/hotfix/build-pipeline
Hotfix/build pipeline
2 parents eeabcc4 + c54369a commit 3599c0d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
dotnet-version: 3.1.301
2121

2222
- name: Install dependencies
23-
run: dotnet restore **/*.sln
23+
run: dotnet restore
2424

2525
- name: Build
26-
run: dotnet build --configuration Release --no-restore **/*.sln
26+
run: dotnet build --configuration Release --no-restore
2727

2828
- name: Generate NuGet package
2929
run: |
3030
cd NetCoreEntityFramework
3131
dotnet pack --configuration Release --output out --no-build
3232
3333
- name: Push generated package to NuGet.org
34-
run: dotnet nuget push ./NetCoreEntityFramework/out/*.nupkg --skip-duplicate --no-symbols true --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
34+
run: dotnet nuget push **.nupkg --skip-duplicate --no-symbols true --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}

NetCoreEntityFramework/Models/EntityBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public abstract class EntityBase
88
{
99
[Key]
1010
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
11-
public Guid? Id { get; set; }
11+
public Guid? Id { get; set; }
1212

1313
[Required]
1414
public DateTime Created { get; set; }

0 commit comments

Comments
 (0)