File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : CD
2
2
3
3
on :
4
- workflow_dispatch :
4
+ # workflow_dispatch:
5
5
release :
6
6
types : [published]
7
7
@@ -61,16 +61,16 @@ jobs:
61
61
shell : pwsh
62
62
63
63
- name : Create NuGet Package
64
- run : nuget pack ThunderDesign.Net-PCL.nuspec -Version 2.0.0.1 -OutputDirectory ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
65
- # run: nuget pack ThunderDesign.Net-PCL.nuspec -Version ${{ github.event.release.tag_name }} -OutputDirectory ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
64
+ # run: nuget pack ThunderDesign.Net-PCL.nuspec -Version 1.1.4 -OutputDirectory ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
65
+ run : nuget pack ThunderDesign.Net-PCL.nuspec -Version ${{ github.event.release.tag_name }} -OutputDirectory ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
66
66
67
67
- name : Archive NuGet Package
68
68
uses : actions/upload-artifact@v4
69
69
with :
70
- name : Package_${{ env.FILE_NAME}}.2.0.0.1
71
- path : ${{ env.PACKAGE_OUTPUT_DIRECTORY}}\${{ env.FILE_NAME}}.2.0.0.1 .nupkg
72
- # name: Package_${{ env.FILE_NAME}}.${{ github.event.release.tag_name }}
73
- # path: ${{ env.PACKAGE_OUTPUT_DIRECTORY}}\${{ env.FILE_NAME}}.${{ github.event.release.tag_name }}.nupkg
70
+ # name: Package_${{ env.FILE_NAME}}.1.1.4
71
+ # path: ${{ env.PACKAGE_OUTPUT_DIRECTORY}}\${{ env.FILE_NAME}}.1.1.4 .nupkg
72
+ name : Package_${{ env.FILE_NAME}}.${{ github.event.release.tag_name }}
73
+ path : ${{ env.PACKAGE_OUTPUT_DIRECTORY}}\${{ env.FILE_NAME}}.${{ github.event.release.tag_name }}.nupkg
74
74
75
- # - name: Publish NuGet Package
76
- # run: nuget push ${{ env.PACKAGE_OUTPUT_DIRECTORY}}\${{ env.FILE_NAME}}.${{ github.event.release.tag_name }}.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_API_KEY }}
75
+ - name : Publish NuGet Package
76
+ run : nuget push ${{ env.PACKAGE_OUTPUT_DIRECTORY}}\${{ env.FILE_NAME}}.${{ github.event.release.tag_name }}.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments