Skip to content

Commit 6a10431

Browse files
committed
nuget
1 parent 41f7143 commit 6a10431

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/nuget.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: nuget
33
on:
44
push:
55
branches: [ main ]
6-
6+
77
# Allows you to run this workflow manually from the Actions tab
88
workflow_dispatch:
99

@@ -13,23 +13,23 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
17-
- name: Setup .NET
18-
uses: actions/setup-dotnet@v1
19-
with:
20-
dotnet-version: 6.0.x
16+
- uses: actions/checkout@v2
17+
- name: Setup .NET
18+
uses: actions/setup-dotnet@v1
19+
with:
20+
dotnet-version: 6.0.x
2121

22-
- name: Restore dependencies
23-
run: dotnet restore
24-
- name: Build
25-
run: dotnet build --configuration Release
26-
- name: Pack
27-
run: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --configuration Release
22+
- name: Restore dependencies
23+
run: dotnet restore
24+
- name: Build
25+
run: dotnet build --configuration Release
26+
- name: Pack
27+
run: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --configuration Release
2828

29-
- name: publish nuget packages
30-
run: |
31-
shopt -s globstar
32-
for file in **/*.nupkg
33-
do
34-
dotnet nuget push "$file" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
35-
done
29+
- name: publish nuget packages
30+
run: |
31+
shopt -s globstar
32+
for file in **/*.nupkg
33+
do
34+
dotnet nuget push "$file" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
35+
done

0 commit comments

Comments
 (0)