Skip to content

Commit

Permalink
updated epic script
Browse files Browse the repository at this point in the history
  • Loading branch information
insomnious committed Jan 25, 2024
1 parent fe73466 commit 1781b79
Showing 1 changed file with 23 additions and 10 deletions.
33 changes: 23 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,23 +99,36 @@ jobs:
$extractFolder = Join-Path $rootDir "BuildPatchTool"
$binaryPath = Join-Path $extractFolder "Engine/Binaries/Win64/BuildPatchTool.exe"
$tempFolderName = "EPIC_TEMP"
$version = "1.10.0"
$tempFolder = Join-Path $rootDir $tempFolderName
$buildFolder = Join-Path $rootDir "dist\win-unpacked"
$executableName = "Vortex.exe"
$folderName = Join-Path $rootDir "dist\win-unpacked"
$buildVersionString = "${{ steps.setOutputs.outputs.epicBuildString }}"
Write-Output "$rootDir"
Write-Output "$extractFolder"
Write-Output "$binaryPath"
Write-Output "$folderName"
Write-Output "rootDir $rootDir"
Write-Output "extractFolder $extractFolder"
Write-Output "binaryPath $binaryPath"
Write-Output "tempFolder $tempFolder"
Write-Output "buildFolder $buildFolder"
if (Test-Path -Path "$folderName") {
Write-Output "$folderName folder exists"
if (Test-Path -Path $buildFolder) {
Write-Output "$buildFolder folder exists"
} else {
Write-Output "$folderName folder not found"
Write-Output "$buildFolder folder not found"
Exit 1
}
& $binaryPath -mode="UploadBinary" `
-OrganizationId="$EPIC_ORGID" `
-ProductId="$EPIC_PRODUCTID" `
-ArtifactId="$EPIC_ARTIFACTID" `
-ClientId="$EPIC_CLIENTID" `
-ClientSecret="$EPIC_CLIENTSECRET" `
-CloudDir="$tempFolder" `
-BuildRoot="$buildFolder" `
-BuildVersion="$buildVersionString" `
-AppLaunch="$executableName" `
-AppArgs="" `
# ./dist/win-unpacked
env:
Expand Down

0 comments on commit 1781b79

Please sign in to comment.