Skip to content

Commit 39bf1f3

Browse files
authored
Merge pull request #131 from cloudscribe/feature/130
Create cloudscribe-develop.yml
2 parents dd1dbb0 + 82979bd commit 39bf1f3

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-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-navigation-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 }}

0 commit comments

Comments
 (0)