Skip to content

Commit a464f9a

Browse files
committed
build before pack
1 parent 4f70d2e commit a464f9a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010

1111
check-code-formatting:
12-
12+
1313
runs-on: ubuntu-latest
1414
name: Check code formating against editorconfig 🔎
1515

@@ -80,8 +80,11 @@ jobs:
8080
8.0.x
8181
9.0.x
8282
83+
- name: Build
84+
run: dotnet build src/Orleans.SyncWork/Orleans.SyncWork.csproj -c Release
85+
8386
- name: Pack
84-
run: dotnet pack src/Orleans.SyncWork/Orleans.SyncWork.csproj -c Release --include-symbols -p:SymbolPackageFormat=snupkg -o .
87+
run: dotnet pack src/Orleans.SyncWork/Orleans.SyncWork.csproj -c Release --no-build --include-symbols -p:SymbolPackageFormat=snupkg -o .
8588

8689
- name: Push to NuGet
8790
run: dotnet nuget push *.nupkg --skip-duplicate -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_KEY}}

0 commit comments

Comments
 (0)