Skip to content

Commit

Permalink
Unshallow, wrong version gets published
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyzimarev committed Jul 15, 2021
1 parent 94e578a commit f77637a
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,23 @@ on:
jobs:
test-win:
runs-on: windows-latest

steps:
- uses: actions/[email protected]
- name: Checkout
uses: actions/[email protected]
- name: Unshallow
run: git fetch --prune --unshallow
- name: Run tests on Windows for all targets
run: dotnet test -c Release

- name: Run tests on Windows for all targets
run: dotnet test -c Release

nuget:
runs-on: windows-latest
needs: [test-win] #,test-netcore-linux]
needs: [ test-win ] #,test-netcore-linux]

steps:
- uses: actions/[email protected]
- uses: actions/[email protected]

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

0 comments on commit f77637a

Please sign in to comment.