Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
add missing env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
aspriddell committed Feb 8, 2023
1 parent 10ea49b commit 862b657
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,18 +184,14 @@ jobs:
Set-ExecutionPolicy RemoteSigned -Force
Install-Module -Name StoreBroker -Force
Import-Module StoreBroker
env:
AADSecret: ${{ secrets.AAD_SECRET }}
AADClient: ${{ secrets.AAD_CLIENT }}
AADTenant: ${{ secrets.AAD_TENANT }}
- name: Save Certificate
uses: timheuer/base64-to-file@v1.2
with:
fileName: "dragonfruit.pfx"
fileDir: ${{ github.workspace }}
encodedString: ${{ secrets.CERTIFICATE }}

- name: Install Certificate
run: |
$securePassword = ConvertTo-SecureString $Env:CertificatePassword -AsPlainText -Force
Expand Down Expand Up @@ -246,6 +242,10 @@ jobs:
Set-StoreBrokerAuthentication -TenantId "$Env:AADTenant" -Credential $clientCredentials
Update-ApplicationFlightSubmission -AppId 9N88CQPKGS15 -FlightId 203522cc-6c4a-42a0-8080-de225fb1ee74 -SubmissionDataPath .\dragon6-winstore.json -PackagePath .\dragon6-winstore.zip -AutoCommit -Force -ReplacePackages -TargetPublishMode Immediate
env:
AADSecret: ${{ secrets.AAD_SECRET }}
AADClient: ${{ secrets.AAD_CLIENT }}
AADTenant: ${{ secrets.AAD_TENANT }}

- name: Submit to Windows Store
if: ${{ !github.event.release.prerelease }}
Expand All @@ -255,3 +255,7 @@ jobs:
Set-StoreBrokerAuthentication -TenantId "$Env:AADTenant" -Credential $clientCredentials
Update-ApplicationSubmission -AppId 9N88CQPKGS15 -SubmissionDataPath .\dragon6-winstore.json -PackagePath .\dragon6-winstore.zip -AutoCommit -Force -AddPackages -UpdatePublishModeAndVisibility -UpdateListings -UpdateNotesForCertification
env:
AADSecret: ${{ secrets.AAD_SECRET }}
AADClient: ${{ secrets.AAD_CLIENT }}
AADTenant: ${{ secrets.AAD_TENANT }}

0 comments on commit 862b657

Please sign in to comment.