mirror of
https://github.com/zed-industries/zed.git
synced 2026-07-09 16:00:35 +00:00
ci: Fix bwrap jobs on run_bundling (#59765)
This fixes an issue where the bwrap bundle jobs were not guarded properly and thus showed up as `cancelled` in the job list for PRs from external contributors, causing the CI to show as failed on a PR (e.g. https://github.com/zed-industries/zed/actions/runs/28028544741/job/82963972185?pr=59758) Release Notes: - N/A
This commit is contained in:
parent
41f9a2e434
commit
1e7f1a11f9
2 changed files with 7 additions and 1 deletions
6
.github/workflows/run_bundling.yml
vendored
6
.github/workflows/run_bundling.yml
vendored
|
|
@ -99,6 +99,9 @@ jobs:
|
|||
if-no-files-found: error
|
||||
timeout-minutes: 60
|
||||
build_static_bwrap_linux_aarch64:
|
||||
if: |-
|
||||
(github.event.action == 'labeled' && github.event.label.name == 'run-bundling') ||
|
||||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-bundling'))
|
||||
runs-on: namespace-profile-8x32-ubuntu-2004-arm-m4
|
||||
steps:
|
||||
- name: steps::cache_nix_dependencies_namespace
|
||||
|
|
@ -130,6 +133,9 @@ jobs:
|
|||
if-no-files-found: error
|
||||
timeout-minutes: 60
|
||||
build_static_bwrap_linux_x86_64:
|
||||
if: |-
|
||||
(github.event.action == 'labeled' && github.event.label.name == 'run-bundling') ||
|
||||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-bundling'))
|
||||
runs-on: namespace-profile-32x64-ubuntu-2004
|
||||
steps:
|
||||
- name: steps::cache_nix_dependencies_namespace
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ pub(crate) fn build_static_bwrap(arch: Arch, deps: &[&NamedJob]) -> NamedJob {
|
|||
|
||||
NamedJob {
|
||||
name: format!("build_static_bwrap_linux_{arch}"),
|
||||
job: dependant_job(deps)
|
||||
job: bundle_job(deps)
|
||||
.runs_on(arch.linux_bundler())
|
||||
.timeout_minutes(60u32)
|
||||
.add_step(steps::cache_nix_dependencies_namespace())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue