Skip to content

Commit

Permalink
Try a different fix for StoreBroker bug
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Feb 2, 2024
1 parent 1c97f40 commit 40c954d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -550,17 +550,21 @@ jobs:
environment: package
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Force old Powershell version
run: |
set "extractPath=C:\Program Files\PowerShell\7"
curl -sLO https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/PowerShell-7.2.17-win-x64.zip
RMDIR "%extractPath%" /S /Q
7z x PowerShell-7.2.17-win-x64.zip -o"%extractPath%"
pwsh --version
- uses: actions/checkout@v4
- name: Install AzureSignTool
run: dotnet tool install --global AzureSignTool
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install cargo-msix
run: cargo install cargo-msix
- name: Install StoreBroker
run: |
# TODO Revert back to installing from the PowerShell Gallery once they have uploaded a fixed version there
# Install-Module -Name StoreBroker -Force
git clone https://github.com/microsoft/StoreBroker.git
run: Install-Module -Name StoreBroker -Force
- name: Download and extract bundled Julia versions
run: |
$x64Versions = Get-Content versiondb\versiondb-x86_64-pc-windows-msvc.json | ConvertFrom-Json
Expand Down Expand Up @@ -616,7 +620,6 @@ jobs:
- name: Package Windows Store payload
run: |
md (Join-Path $env:GITHUB_WORKSPACE "storepackage")
Import-Module .\StoreBroker\StoreBroker\StoreBroker.psd1 -Verbose
New-SubmissionPackage -ConfigPath (Join-Path $env:GITHUB_WORKSPACE "deploy" "winstoresubmission" "SBConfig.json") -PDPRootPath (Join-Path $env:GITHUB_WORKSPACE "deploy" "winstoresubmission" "pdps") -ImagesRootPath (Join-Path $env:GITHUB_WORKSPACE "deploy" "winstoresubmission" "images") -AppxPath target\msix\winstoremsix\*.appxbundle -OutPath (Join-Path $env:GITHUB_WORKSPACE "storepackage") -OutName Upload
- name: Rename and move juliainstaller
run: |
Expand Down

0 comments on commit 40c954d

Please sign in to comment.