Skip to content

Commit 80eb539

Browse files
authored
Update release.yml
1 parent c74a6e3 commit 80eb539

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/release.yml

+15-7
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,21 @@ jobs:
3636
run: dotnet pack -c Release -p:PackageVersion=${{ steps.gitversion.outputs.nuGetVersionV2 }} --no-restore -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output nuget-packages
3737
- name: Push with dotnet
3838
run: dotnet nuget push nuget-packages/*.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json
39-
- name: Archive package
39+
- name: Archive packages
4040
uses: actions/[email protected]
4141
with:
42-
name: SimpleConcepts.Extensions.Caching.${{ steps.gitversion.outputs.nuGetVersionV2 }}.nupkg
43-
path: nuget-packages/SimpleConcepts.Extensions.Caching.${{ steps.gitversion.outputs.nuGetVersionV2 }}.nupkg
44-
- name: Archive symbols package
45-
uses: actions/[email protected]
42+
name: Packages
43+
path: nuget-packages/*
44+
- name: Upload package release asset
45+
uses: actions/[email protected]
46+
with:
47+
asset_path: SimpleConcepts.Extensions.Caching.${{ steps.gitversion.outputs.nuGetVersionV2 }}.nupkg
48+
asset_name: SimpleConcepts.Extensions.Caching.${{ steps.gitversion.outputs.nuGetVersionV2 }}.nupkg
49+
asset_content_type: application/zip
50+
- name: Upload symbols package release asset
51+
uses: actions/[email protected]
4652
with:
47-
name: SimpleConcepts.Extensions.Caching.${{ steps.gitversion.outputs.nuGetVersionV2 }}.snupkg
48-
path: nuget-packages/SimpleConcepts.Extensions.Caching.${{ steps.gitversion.outputs.nuGetVersionV2 }}.snupkg
53+
asset_path: SimpleConcepts.Extensions.Caching.${{ steps.gitversion.outputs.nuGetVersionV2 }}.snupkg
54+
asset_name: SimpleConcepts.Extensions.Caching.${{ steps.gitversion.outputs.nuGetVersionV2 }}.snupkg
55+
asset_content_type: application/zip
56+

0 commit comments

Comments
 (0)