-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unshallow, wrong version gets published
- Loading branch information
1 parent
94e578a
commit f77637a
Showing
1 changed file
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |