add automatic deploy and test of insider's builds

This commit is contained in:
Göran Sander
2025-09-26 22:22:14 +02:00
parent d9ee5a8d50
commit 235da81919
3 changed files with 66 additions and 46 deletions

View File

@@ -463,13 +463,13 @@ jobs:
Write-Host " Deploy Path: $env:BUTLER_SOS_INSIDER_DEPLOY_PATH"
Write-Host " Service Timeout: $env:BUTLER_SOS_INSIDER_SERVICE_TIMEOUT seconds"
Write-Host " Download Path: $env:BUTLER_SOS_INSIDER_DOWNLOAD_PATH"
# Define variables from environment
$serviceName = $env:BUTLER_SOS_INSIDER_SERVICE_NAME
$artifactPath = "$env:BUTLER_SOS_INSIDER_DOWNLOAD_PATH\butler-sos--win-x64--${{ github.sha }}.zip"
$deployPath = $env:BUTLER_SOS_INSIDER_DEPLOY_PATH
$serviceTimeout = [int]$env:BUTLER_SOS_INSIDER_SERVICE_TIMEOUT
try {
# Check if artifact exists
if (-not (Test-Path $artifactPath)) {
@@ -560,10 +560,10 @@ jobs:
continue-on-error: true
run: |
Write-Host "Verifying deployment..."
$serviceName = $env:BUTLER_SOS_INSIDER_SERVICE_NAME
$deployPath = $env:BUTLER_SOS_INSIDER_DEPLOY_PATH
try {
# Check if deployment directory exists and has files
if (Test-Path $deployPath) {