Skip to content

Commit 9a4bc31

Browse files
committed
Add release build step before package packing
1 parent dc74936 commit 9a4bc31

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/cd.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ jobs:
3333
- name: Restore dependencies
3434
run: dotnet restore
3535

36+
- name: Build Solution
37+
run: dotnet build --configuration Release --no-restore
38+
3639
- name: Pack NuGet Package
37-
run: dotnet pack src/Refit.Composite/Refit.Composite.csproj --configuration Release /p:PackageVersion=${{ env.VERSION }} --output ./dist
40+
run: dotnet pack src/Refit.Composite/Refit.Composite.csproj --configuration Release /p:PackageVersion=${{ env.VERSION }} --no-build --output ./dist
3841

3942
- name: NuGet login (OIDC)
4043
uses: NuGet/login@v1

0 commit comments

Comments
 (0)