mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
Only run canary release on push to main
This commit is contained in:
5
.github/workflows/bun.yml
vendored
5
.github/workflows/bun.yml
vendored
@@ -28,8 +28,6 @@ jobs:
|
||||
cpu: [native, sandybridge]
|
||||
|
||||
steps:
|
||||
- name: Cleanup submodules
|
||||
run: git rm --cached -r bench/ffi/plus100/plus100-napi || echo ""
|
||||
- uses: actions/checkout@v3
|
||||
- name: Checkout submodules
|
||||
run: git -c submodule."src/bun.js/WebKit".update=none submodule update --init --recursive --depth=1 --progress -j $(nproc)
|
||||
@@ -99,8 +97,6 @@ jobs:
|
||||
runs-on: linux-arm64
|
||||
timeout-minutes: 90
|
||||
steps:
|
||||
- name: Cleanup submodules
|
||||
run: git rm --cached -r bench/ffi/plus100/plus100-napi || echo ""
|
||||
- uses: actions/checkout@v3
|
||||
- name: Checkout submodules
|
||||
run: git -c submodule."src/bun.js/WebKit".update=none submodule update --init --recursive --depth=1 --progress -j $(nproc)
|
||||
@@ -146,6 +142,7 @@ jobs:
|
||||
name: release
|
||||
runs-on: ubuntu-18.04
|
||||
timeout-minutes: 90
|
||||
if: github.ref_name == 'main'
|
||||
needs:
|
||||
- linux-x64
|
||||
- linux-aarch64
|
||||
|
||||
Reference in New Issue
Block a user