First Commit

This commit is contained in:
Mike Nolan 2023-09-04 16:21:21 -05:00
commit 56d19a9715
4 changed files with 27 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
bin
obj
out

13
.gitlab.ci Normal file
View File

@ -0,0 +1,13 @@
stages:
- build
build:
image: mcr.microsoft.com/dotnet/sdk:7.0.400-jammy-amd64
stage: build
only:
- master
artifacts:
path:
- publish/ArtifactTest
script:
- cd src && dotnet publish -o ../publish --self-contained -p:PublishReadyToRun=true -p:PublishSingleFile=true -c Release

10
ArtifactTest.csproj Normal file
View File

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

1
Program.cs Normal file
View File

@ -0,0 +1 @@
Console.WriteLine("This is my first ci");