Skip to content

Commit

Permalink
updated secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
insomnious committed Jan 25, 2024
1 parent 05b5bb2 commit 55bbf5d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,10 @@ jobs:
$tempFolderName = "EPIC_TEMP"
$tempFolder = Join-Path $rootDir $tempFolderName
$buildFolder = Join-Path $rootDir "dist\win-unpacked"
$timestamp = Get-Date -Format "yyyyMMdd_HHmmss"
$executableName = "Vortex.exe"
$buildVersionString = "${{ steps.setOutputs.outputs.epicBuildString }}"
$buildVersionString = "${{ steps.setOutputs.outputs.rawVersion }}+${timestamp}"
Write-Output "rootDir $rootDir"
Write-Output "extractFolder $extractFolder"
Expand All @@ -200,11 +201,11 @@ jobs:
}
& $binaryPath -mode="UploadBinary" `
-OrganizationId="$EPIC_ORGID" `
-ProductId="$EPIC_PRODUCTID" `
-ArtifactId="$EPIC_ARTIFACTID" `
-ClientId="$EPIC_CLIENTID" `
-ClientSecret="$EPIC_CLIENTSECRET" `
-OrganizationId="$env:EPIC_ORGID" `
-ProductId="$env:EPIC_PRODUCTID" `
-ArtifactId="$env:EPIC_ARTIFACTID" `
-ClientId="$env:EPIC_CLIENTID" `
-ClientSecret="$env:EPIC_CLIENTSECRET" `
-CloudDir="$tempFolder" `
-BuildRoot="$buildFolder" `
-BuildVersion="$buildVersionString" `
Expand Down
21 changes: 15 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ jobs:
with:
submodules: "recursive"

- name: Create Temp Unpacked Folder
id: create-temp-folder
shell: pwsh
run: |
$rootDir = Resolve-Path "."
$buildFolder = Join-Path $rootDir "dist\win-unpacked"
New-Item -Path $buildFolder -Type Directory -Force
- name: Download BuildPatchTool
id: buildpatch
shell: pwsh
Expand All @@ -101,9 +109,10 @@ jobs:
$tempFolderName = "EPIC_TEMP"
$tempFolder = Join-Path $rootDir $tempFolderName
$buildFolder = Join-Path $rootDir "dist\win-unpacked"
$timestamp = Get-Date -Format "yyyyMMdd_HHmmss"
$executableName = "Vortex.exe"
$buildVersionString = "${{ steps.setOutputs.outputs.epicBuildString }}"
$buildVersionString = "${{ steps.setOutputs.outputs.rawVersion }}+${timestamp}"
Write-Output "rootDir $rootDir"
Write-Output "extractFolder $extractFolder"
Expand All @@ -119,11 +128,11 @@ jobs:
}
& $binaryPath -mode="UploadBinary" `
-OrganizationId="$EPIC_ORGID" `
-ProductId="$EPIC_PRODUCTID" `
-ArtifactId="$EPIC_ARTIFACTID" `
-ClientId="$EPIC_CLIENTID" `
-ClientSecret="$EPIC_CLIENTSECRET" `
-OrganizationId="$env:EPIC_ORGID" `
-ProductId="$env:EPIC_PRODUCTID" `
-ArtifactId="$env:EPIC_ARTIFACTID" `
-ClientId="$env:EPIC_CLIENTID" `
-ClientSecret="$env:EPIC_CLIENTSECRET" `
-CloudDir="$tempFolder" `
-BuildRoot="$buildFolder" `
-BuildVersion="$buildVersionString" `
Expand Down

0 comments on commit 55bbf5d

Please sign in to comment.