From 6bbb90d0c74f378d3eeeb32f96ca1ec7c7a9a617 Mon Sep 17 00:00:00 2001 From: Eduardo Mosqueda Date: Mon, 3 Nov 2025 15:26:26 -0600 Subject: [PATCH] Add test_log.ps1 --- test_log.ps1 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test_log.ps1 diff --git a/test_log.ps1 b/test_log.ps1 new file mode 100644 index 0000000..91f939e --- /dev/null +++ b/test_log.ps1 @@ -0,0 +1,10 @@ +# Script: test_log.ps1 +# Objetivo: Crear un archivo de registro para confirmar la ejecución. + +$LogPath = "C:\TEMP\safecloud_test_success.log" +$Timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss" + +$Content = "Prueba de Gitea y Action1 exitosa. El script se ejecutó el $Timestamp" + +# Escribe el contenido en el archivo de registro +Set-Content -Path $LogPath -Value $Content -Force \ No newline at end of file