Skip to content

Commit 341b6e1

Browse files
committed
Migrate from custom CI to dotnet-releaser
1 parent 75ec7f4 commit 341b6e1

File tree

5 files changed

+21
-101
lines changed

5 files changed

+21
-101
lines changed

.github/workflows/build-test.yaml

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

.github/workflows/ci-cd.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: CI/CD
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
uses: Kysect/.github/.github/workflows/dotnet-releaser.yaml@master
10+
with:
11+
dotnet-version: '8.0'
12+
secrets:
13+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

.github/workflows/nuget-publish.yaml

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

Sources/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</ItemGroup>
3636

3737
<ItemGroup Condition="$(Configuration) == 'Release'">
38-
<None Include="$(SolutionDir)..\Images\Kysect-logo.png" Pack="true" PackagePath="\" />
39-
<None Include="$(SolutionDir)..\README.md" Pack="true" PackagePath="\" />
38+
<None Include="$(MSBuildThisFileDirectory)..\Images\Kysect-logo.png" Pack="true" PackagePath="\" />
39+
<None Include="$(MSBuildThisFileDirectory)..\README.md" Pack="true" PackagePath="\" />
4040
</ItemGroup>
4141
</Project>

Sources/dotnet-releaser.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# configuration file for dotnet-releaser
2+
[msbuild]
3+
project = "Kysect.DotnetProjectSystem.sln"
4+
[github]
5+
user = "kysect"
6+
repo = "DotnetProjectSystem"

0 commit comments

Comments
 (0)