Update .gitlab-ci.yml file

This commit is contained in:
J. Secula
2025-06-05 10:42:21 +02:00
parent ceeb5fc03a
commit 2507576a1c

View File

@ -26,8 +26,7 @@ prep-job: # This job runs in the build stage, which runs first.
stage: build stage: build
script: script:
- powershell -Command {Install-Module ps2exe -Confirm:$False -Force} - powershell -Command {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} - 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: artifacts:
when: on_success when: on_success
access: all access: all