ci(release): build the JS bundle once and run every platform and architecture in parallel #11606
Mergedjuliusmarmingemerged 3 commits into
sea/all-archives fromrefs/pull/11606/headmerged by juliusmarminge View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XXL
- @@ -1167,7 +580,19 @@580+ release_channel: ${{ needs.preflight.outputs.release_channel }}581+ clerk_publishable_key: ${{ needs.relay_public_config.outputs.clerk_publishable_key }}582+ clerk_jwt_template: ${{ needs.relay_public_config.outputs.clerk_jwt_template }}583+ clerk_cli_oauth_client_id: ${{ needs.relay_public_config.outputs.clerk_cli_oauth_client_id }}584+ relay_url: ${{ needs.relay_public_config.outputs.relay_url }}585+ label: Windows arm64586+ runner: windows-11-arm587+ platform: win588+ target: nsis589+ arch: arm64590+ rust_target: aarch64-pc-windows-msvc591+ resource_key: win32-arm64592+ cli_archive: true11675931168594 # Preview releases never reach npm: the archive on the GitHub Release is the1169595 # only way to obtain one, so no dist-tag can ever resolve to a preview build.1170596 publish_cli:1171597 name: Publish CLI to npm1172- needs: [preflight, relay_public_config, quality, build]1173- if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.relay_public_config.result == 'success' && needs.quality.result == 'success' && needs.build.result == 'success' && needs.preflight.outputs.release_channel != 'preview' }}598+ needs: [preflight, relay_public_config, quality, build_bundle]
- @@ -0,0 +275,21 @@275+ - name: Build desktop artifact276+ shell: bash277+ env:278+ pnpm_config_cache_dir: ${{ runner.temp }}/pnpm-metadata279+ T3CODE_DESKTOP_REUSE_RESOURCE_MONITOR: ${{ steps.resource_monitor_cache.outputs.cache-hit == 'true' }}280+ T3CODE_DESKTOP_REUSE_LINUX_CAPTURE_HELPERS: ${{ steps.capture_helper_cache.outputs.cache-hit == 'true' }}281+ CSC_LINK: ${{ secrets.CSC_LINK }}282+ CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}283+ APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}284+ APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}285+ APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}286+ APPLE_TEAM_ID: ${{ vars.APPLE_TEAM_ID }}287+ MACOS_PROVISIONING_PROFILE: ${{ secrets.MACOS_PROVISIONING_PROFILE }}288+ T3CODE_CLERK_PASSKEY_RP_DOMAINS: ${{ vars.CLERK_PASSKEY_RP_DOMAINS }}289+ AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}290+ AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}291+ AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}292+ AZURE_TRUSTED_SIGNING_ENDPOINT: ${{ secrets.AZURE_TRUSTED_SIGNING_ENDPOINT }}293+ AZURE_TRUSTED_SIGNING_ACCOUNT_NAME: ${{ secrets.AZURE_TRUSTED_SIGNING_ACCOUNT_NAME }}294+ AZURE_TRUSTED_SIGNING_CERTIFICATE_PROFILE_NAME: ${{ secrets.AZURE_TRUSTED_SIGNING_CERTIFICATE_PROFILE_NAME }}295+ AZURE_TRUSTED_SIGNING_PUBLISHER_NAME: ${{ secrets.AZURE_TRUSTED_SIGNING_PUBLISHER_NAME }}@@ -1167,7 +580,19 @@580+ release_channel: ${{ needs.preflight.outputs.release_channel }}581+ clerk_publishable_key: ${{ needs.relay_public_config.outputs.clerk_publishable_key }}582+ clerk_jwt_template: ${{ needs.relay_public_config.outputs.clerk_jwt_template }}583+ clerk_cli_oauth_client_id: ${{ needs.relay_public_config.outputs.clerk_cli_oauth_client_id }}584+ relay_url: ${{ needs.relay_public_config.outputs.relay_url }}585+ label: Windows arm64586+ runner: windows-11-arm587+ platform: win588+ target: nsis589+ arch: arm64590+ rust_target: aarch64-pc-windows-msvc591+ resource_key: win32-arm64592+ cli_archive: true11675931168594 # Preview releases never reach npm: the archive on the GitHub Release is the1169595 # only way to obtain one, so no dist-tag can ever resolve to a preview build.1170596 publish_cli:1171597 name: Publish CLI to npm1172- needs: [preflight, relay_public_config, quality, build]1173- if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.relay_public_config.result == 'success' && needs.quality.result == 'success' && needs.build.result == 'success' && needs.preflight.outputs.release_channel != 'preview' }}598+ needs: [preflight, relay_public_config, quality, build_bundle]
juliusmarminge merged this2f7616e
juliusmarminge closed this
Sign in to join this conversation.
macroscopeapp[bot](GitHub profile, opens in a new tab) reviewed