File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Pack Nuget
2+
3+ on :
4+ push :
5+ branches : [ "action/release" ]
6+ pull_request :
7+ branches : [ "action/release" ]
8+
9+ jobs :
10+ nuget :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4.1.1
15+
16+ - name : Build the Project
17+ run : dotnet build ./src/Lemon.ModuleNavigation.Avaloniaui --configuration Release
18+
19+ - name : Pack Nuget
20+ run : dotnet pack ./src/Lemon.ModuleNavigation -o ./nugets
21+
22+ - name : Pack Nuget
23+ run : dotnet pack ./src/Lemon.ModuleNavigation.Avaloniaui -o ./nugets
24+
25+ - name : Publish NuGet package
26+ run : dotnet nuget push "./nugets/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
27+
28+ - name : Upload a Build Artifact
29+ uses : actions/upload-artifact@v4.3.1
30+ with :
31+ name : nugets
32+ path : ./nugets
You can’t perform that action at this time.
0 commit comments