From d361bae7ec50e7244071f004cedf7ddefa892389 Mon Sep 17 00:00:00 2001 From: Michael Nolan Date: Mon, 4 Sep 2023 21:24:06 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..31c31f4 --- /dev/null +++ b/.gitlab-ci.yml @@ -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