Update .gitlab-ci.yml file

This commit is contained in:
J. Secula
2025-06-05 10:55:26 +02:00
parent 9c645b4954
commit c35ad71d18

View File

@ -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. 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 -version 1.2 -outputFile /builds/jsecula/laps/laps.exe" - 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