Skip to content

Commit f77637a

Browse files
committed
Unshallow, wrong version gets published
1 parent 94e578a commit f77637a

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/build-dev.yml

+13-11
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,23 @@ on:
1414
jobs:
1515
test-win:
1616
runs-on: windows-latest
17-
17+
1818
steps:
19-
- uses: actions/checkout@v2.3.4
19+
- name: Checkout
20+
uses: actions/checkout@v2.3.4
21+
- name: Unshallow
22+
run: git fetch --prune --unshallow
23+
- name: Run tests on Windows for all targets
24+
run: dotnet test -c Release
2025

21-
- name: Run tests on Windows for all targets
22-
run: dotnet test -c Release
23-
2426
nuget:
2527
runs-on: windows-latest
26-
needs: [test-win] #,test-netcore-linux]
28+
needs: [ test-win ] #,test-netcore-linux]
2729

2830
steps:
29-
- uses: actions/checkout@v2.3.4
31+
- uses: actions/checkout@v2.3.4
3032

31-
- name: Create and push NuGet package
32-
run: |
33-
dotnet pack -c Release -o nuget -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
34-
dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
33+
- name: Create and push NuGet package
34+
run: |
35+
dotnet pack -c Release -o nuget -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
36+
dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)