From 7175cd742749015651f2368c9ce277b9053fbae1 Mon Sep 17 00:00:00 2001 From: Masterain Date: Thu, 21 Sep 2023 00:01:13 -0700 Subject: [PATCH] Create .gitlab-ci.yml --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ca967cb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +image: mcr.microsoft.com/windows/server + +Build: + tags: + - windows + script: + - dotnet restore + - dotnet build -c Release --no-restore + - dotnet publish --property:OutputPath=.\publish\ + - Move-Item -Path .\publish\publish\*.exe -Destination .\ + artifacts: + paths: + - .\*.exe + expire_in: 90 days