File tree Expand file tree Collapse file tree 3 files changed +19
-10
lines changed
content/MoonlightPluginTemplate/.template.config Expand file tree Collapse file tree 3 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88jobs :
9- build-nupkg :
9+ publish :
1010 runs-on : debian-12
1111
1212 steps :
13+ # Step 1: Clean environment
1314 - name : Clean up Environment
1415 run : |
15- rm -rf ./*
16- rm -rf ./.??*
16+ rm -rf ./*
17+ rm -rf ./.??*
1718
18- - uses : actions/checkout@v3
19+ # Step 2: Checkout the code
20+ - name : Checkout code
21+ uses : actions/checkout@v3
1922
20- - name : Pack the plugin template
21- run : dotnet pack -c Debug -o ./packs
23+ # Step 3: Build project
24+ - name : " Build project"
25+ run : dotnet build --configuration Debug PluginTemplate.csproj
2226
23- - name : Publish to github Pkg
24- run : dotnet nuget push "./packs/*.nupkg" --skip-duplicate --api-key ${{secrets.GH_PACKAGES_READWRITE}} --source https://nuget.pkg.github.com/Moonlight-Panel/index.json
27+ # Step 4: Pack project
28+ - name : " Pack project"
29+ run : dotnet pack --configuration Debug --no-build --output . PluginTemplate.csproj
30+
31+ # Step 5: Publish on package registry
32+ - name : Publish on package registry"
33+ run : dotnet nuget push "*.nupkg" --skip-duplicate --api-key ${{secrets.GH_PACKAGES_READWRITE}} --source https://nuget.pkg.github.com/Moonlight-Panel/index.json
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <PackageId >Moonlight.PluginTemplate</PackageId >
5- <PackageVersion >1.0.5 </PackageVersion >
5+ <PackageVersion >1.0.6 </PackageVersion >
66 <Title >Moonlight.PluginTemplate</Title >
77 <Authors >ChiaraBm</Authors >
88 <Description >A template for creating moonlight plugins faster</Description >
Original file line number Diff line number Diff line change 11{
22 "$schema" : " http://json.schemastore.org/template" ,
3- "author" : " Chiara Baumgartner " ,
3+ "author" : " ChiaraBm " ,
44 "classifications" : [
55 " Web" ,
66 " Blazor" ,
You can’t perform that action at this time.
0 commit comments