From 567f23ba94ab12c24cc300b2e6da818b4fc7e517 Mon Sep 17 00:00:00 2001 From: "J. Secula" Date: Thu, 5 Jun 2025 10:57:28 +0200 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e8918d..d2fffca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ stages: # List of stages for jobs, and their order of execution prep-job: # This job runs in the build stage, which runs first. stage: build script: - - powershell -Command 'Install-Module ps2exe -Confirm:$False -Force' + - powershell -Command '[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Install-Module ps2exe -Confirm:$False -Force' - powershell -Command "ps2exe ./laps.ps1 -requireAdmin -noOutput -noError -title 'LAPS' -description 'Outil pour récupérer un mot de passe LAPS dans un Active Directory' -Company 'Académie Nancy-Metz' -noconsole -version 1.2 -outputFile /builds/jsecula/laps/laps.exe" artifacts: when: on_success