File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ name: Build Nuget Packages
22
33on :
44 workflow_dispatch :
5- inputs :
6- tagName :
7- description : ' build tag name'
8- required : false
9- default : ' main'
10- type : string
115
126jobs :
137 build :
@@ -16,22 +10,15 @@ jobs:
1610 - uses : actions/checkout@v4
1711 with :
1812 fetch-depth : 0
19- - name : checkout_branch ${{ github.event.inputs.tagName }}
20- run : |
21- git checkout tags/${{ github.event.inputs.tagName }}
22- echo "checkout Tag ${{ github.event.inputs.tagName }} success"
23-
13+ filter : tree:0
2414 - name : Install .NET
2515 uses : actions/setup-dotnet@v4
2616 with :
27- dotnet-version : 8.0.x'
28-
17+ dotnet-version : ' 8.0.x'
2918 - name : Pack Blazonia nugets
3019 run : dotnet pack ./src/Blazonia/Blazonia.csproj -o ./packages -c Release
31-
3220 - name : PackBlazonia nugets
3321 run : dotnet pack ./src/Blazonia.ComponentGenerator/Blazonia.ComponentGenerator.csproj -o ./packages -c Release
34-
3522 - name : Upload a Build Artifact
3623 uses : actions/upload-artifact@v4
3724 with :
You can’t perform that action at this time.
0 commit comments