commit 56d19a971586cd819dac2c15e908ef01a252be68 Author: Michael Nolan Date: Mon Sep 4 16:21:21 2023 -0500 First Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9a11a8e --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +bin +obj +out \ No newline at end of file diff --git a/.gitlab.ci b/.gitlab.ci new file mode 100644 index 0000000..31c31f4 --- /dev/null +++ b/.gitlab.ci @@ -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 \ No newline at end of file diff --git a/ArtifactTest.csproj b/ArtifactTest.csproj new file mode 100644 index 0000000..f02677b --- /dev/null +++ b/ArtifactTest.csproj @@ -0,0 +1,10 @@ + + + + Exe + net7.0 + enable + enable + + + diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..9c0c106 --- /dev/null +++ b/Program.cs @@ -0,0 +1 @@ +Console.WriteLine("This is my first ci"); \ No newline at end of file