Skip to content

Commit e7f6c3c

Browse files
committed
finish up
1 parent 4311bac commit e7f6c3c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1175
-389
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: [kukks]
2+
custom: ['https://donate.kukks.org']

.github/workflows/ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: 'Publish application'
2+
on: push
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
# Checkout the code
9+
- uses: actions/checkout@v2
10+
11+
# Install .NET Core SDK
12+
- name: Setup .NET Core
13+
uses: actions/setup-dotnet@v1
14+
with:
15+
dotnet-version: 8.0.x
16+
17+
- name: Test
18+
run: dotnet test
19+
20+
- name: Publish NuGet
21+
if: ${{ github.ref == 'refs/heads/master' }} # Publish only when the push is on master
22+
uses: Rebel028/[email protected]
23+
with:
24+
PROJECT_FILE_PATH: DotNut.Client/DotNut.csproj
25+
NUGET_KEY: ${{secrets.NUGET_KEY}}
26+
PACKAGE_NAME: DotNut
27+
INCLUDE_SYMBOLS: false
28+
VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$
29+
TAG_COMMIT: true
30+
TAG_FORMAT: DotNut/v*
31+
- name: Publish Github Package Registry
32+
if: ${{ github.ref == 'refs/heads/master' }} # Publish only when the push is on master
33+
uses: Rebel028/[email protected]
34+
with:
35+
PROJECT_FILE_PATH: DotNut.Client/DotNut.Client.csproj
36+
NUGET_SOURCE: "https://nuget.pkg.github.com/Kukks"
37+
NUGET_KEY: ${{secrets.GH_TOKEN}}
38+
PACKAGE_NAME: DotNut
39+
INCLUDE_SYMBOLS: false
40+
VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$
41+
TAG_COMMIT: true
42+
TAG_FORMAT: DotNut/v*

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
**/bin
22
**/obj
3+
.idea
4+
.idea

.idea/.idea.DotNuts/.idea/.gitignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

.idea/.idea.DotNuts/.idea/encodings.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.idea/.idea.DotNuts/.idea/indexLayout.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/.idea.DotNuts/.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

DotNuts.Tests/DotNuts.Tests.csproj renamed to DotNut.Tests/DotNut.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</ItemGroup>
2424

2525
<ItemGroup>
26-
<ProjectReference Include="..\DotNuts\DotNuts.csproj" />
26+
<ProjectReference Include="..\DotNut\DotNut.csproj" />
2727
</ItemGroup>
2828

2929
</Project>
File renamed without changes.

DotNuts.Tests/UnitTest1.cs renamed to DotNut.Tests/UnitTest1.cs

Lines changed: 166 additions & 14 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)