Skip to content

Commit 5d864a9

Browse files
authored
Merge pull request #59 from cloudscribe/feature/58
#58 yml
2 parents db46c37 + 8a094e8 commit 5d864a9

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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 }}

demos/cloudscribe.DemoWeb/cloudscribe.DemoWeb.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
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>

0 commit comments

Comments
 (0)