Skip to content

Commit 2e3baa7

Browse files
committed
Migrate from custom CI to dotnet-releaser
1 parent e144f19 commit 2e3baa7

6 files changed

Lines changed: 28 additions & 104 deletions

File tree

.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/Kysect.TerminalUserInterface.sln

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
21
Microsoft Visual Studio Solution File, Format Version 12.00
32
# Visual Studio Version 17
43
VisualStudioVersion = 17.6.33829.357
54
MinimumVisualStudioVersion = 10.0.40219.1
65
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kysect.TerminalUserInterface", "Kysect.TerminalUserInterface\Kysect.TerminalUserInterface.csproj", "{6BBEA84D-E2D3-43BA-9601-585593EB5A75}"
76
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kysect.TerminalUserInterface.Sample", "Kysect.TerminalUserInterface.Sample\Kysect.TerminalUserInterface.Sample.csproj", "{79CEBEBF-2B3B-40B2-A94B-06388F053223}"
7+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kysect.TerminalUserInterface.Sample", "Kysect.TerminalUserInterface.Sample\Kysect.TerminalUserInterface.Sample.csproj", "{79CEBEBF-2B3B-40B2-A94B-06388F053223}"
98
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kysect.TerminalUserInterface.Tests", "Kysect.TerminalUserInterface.Tests\Kysect.TerminalUserInterface.Tests.csproj", "{4A041BEE-EA9D-4FE2-A758-9620DF9D8785}"
9+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kysect.TerminalUserInterface.Tests", "Kysect.TerminalUserInterface.Tests\Kysect.TerminalUserInterface.Tests.csproj", "{4A041BEE-EA9D-4FE2-A758-9620DF9D8785}"
10+
EndProject
11+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E6BC8698-8440-4715-B5D4-21EC1791E22A}"
12+
ProjectSection(SolutionItems) = preProject
13+
Directory.Build.props = Directory.Build.props
14+
EndProjectSection
1115
EndProject
1216
Global
1317
GlobalSection(SolutionConfigurationPlatforms) = preSolution

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.TerminalUserInterface.sln"
4+
[github]
5+
user = "kysect"
6+
repo = "TerminalUserInterface"

0 commit comments

Comments
 (0)