File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
demos/cloudscribe.DemoWeb Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a .NET project
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3+
4+ name : cloudscribe-pwakit-develop-nuget-build
5+
6+ on :
7+ push :
8+ branches : [ "develop" ]
9+ # pull_request:
10+ # branches: [ "develop" ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+ - name : Setup .NET
20+ uses : actions/setup-dotnet@v4
21+ with :
22+ dotnet-version : 8.0.x
23+ - name : Setup NuGet
24+ run : dotnet nuget add source ${{ secrets.NUGET_SOURCE_URL }} -u ${{secrets.NUGET_USERNAME }} -p ${{ secrets.NUGET_PASSWORD }} --store-password-in-clear-text
25+ - name : Restore dependencies
26+ run : dotnet restore
27+ - name : Build
28+ run : dotnet build -c Release
29+ - name : Create NuGet package
30+ run : dotnet pack -c Release
31+ - name : Publish NuGet package
32+ run : dotnet nuget push **/*.nupkg --source ${{ secrets.NUGET_SOURCE_URL }}
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <TargetFramework >net8.0</TargetFramework >
55 <UserSecretsId >cloudscribe.DemoWeb-779D298B-C8F9-443A-BE6A-DB87C4EF59CB</UserSecretsId >
6+ <IsPackable >false</IsPackable >
67 </PropertyGroup >
78
89 <PropertyGroup >
You can’t perform that action at this time.
0 commit comments