-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Modernize release workflow runners #2129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -156,7 +156,7 @@ jobs: | |
| target: AppImage | ||
| arch: x64 | ||
| - label: Windows x64 | ||
| runner: windows-2022 # blacksmith-32vcpu-windows-2025 | ||
| runner: blacksmith-32vcpu-windows-2025 | ||
| platform: win | ||
| target: nsis | ||
| arch: x64 | ||
|
|
@@ -188,6 +188,23 @@ jobs: | |
| - name: Align package versions to release version | ||
| run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}" | ||
|
|
||
| - name: Install Spectre-mitigated MSVC libs | ||
| if: matrix.platform == 'win' | ||
| shell: pwsh | ||
| run: | | ||
| $vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" | ||
| $installPath = & $vswhere -products * -latest -property installationPath | ||
| $setupExe = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\setup.exe" | ||
| $proc = Start-Process -FilePath $setupExe ` | ||
| -ArgumentList "modify", "--installPath", "`"$installPath`"", "--add", ` | ||
| "Microsoft.VisualStudio.Component.VC.Tools.x86.x64.Spectre", "--quiet", "--norestart" ` | ||
| -Wait -PassThru -NoNewWindow | ||
|
cursor[bot] marked this conversation as resolved.
|
||
| if ($null -eq $proc -or $proc.ExitCode -ne 0) { | ||
| $code = if ($null -ne $proc) { $proc.ExitCode } else { 1 } | ||
| Write-Error "Visual Studio Installer failed with exit code $code" | ||
| exit $code | ||
| } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inconsistent indentation in PowerShell script blockLow Severity The first content line of the YAML Reviewed by Cursor Bugbot for commit ba2c1cb. Configure here. |
||
|
|
||
| - name: Build desktop artifact | ||
| shell: bash | ||
| env: | ||
|
|
@@ -333,19 +350,27 @@ jobs: | |
| release: | ||
| name: Publish GitHub Release | ||
| needs: [preflight, build, publish_cli] | ||
| runs-on: blacksmith-8vcpu-ubuntu-2404 | ||
| runs-on: ubuntu-24.04 # blacksmith-8vcpu-ubuntu-2404 | ||
| timeout-minutes: 10 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| ref: ${{ needs.preflight.outputs.ref }} | ||
|
|
||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version-file: package.json | ||
|
|
||
| - name: Setup Node | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version-file: package.json | ||
|
|
||
| - name: Install dependencies | ||
| run: bun install --frozen-lockfile | ||
|
|
||
| - name: Download all desktop artifacts | ||
| uses: actions/download-artifact@v8 | ||
| with: | ||
|
|
||


Uh oh!
There was an error while loading. Please reload this page.