Skip to content

Commit 6d57a88

Browse files
committed
Add build step to release flow
1 parent e6073a4 commit 6d57a88

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,14 @@ jobs:
2525
repo-token: ${{ secrets.GITHUB_TOKEN }}
2626
wait-interval: 10
2727

28+
- name: Restore dependencies
29+
run: dotnet restore
30+
31+
- name: Build
32+
run: dotnet build ./Postgrest/Postgrest.csproj --configuration Release --no-restore
33+
2834
- name: Generate package
29-
run: dotnet pack --configuration Release
35+
run: dotnet pack ./Postgrest/Postgrest.csproj --configuration Release
3036

3137
- name: Publish on version change
3238
run: dotnet nuget push "**/*.nupkg" --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)