aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-07-22 12:19:55 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-07-22 12:19:55 -0700
commitd003fb42885af151918dee4fa0e5ade413ecf7f3 (patch)
treed106fd31ff49a13237461946655b6da91ab78048
parentc2d6ceb0f3ef6e37d6dd4a8e11b5db99727f9bf3 (diff)
downloadbun-d003fb42885af151918dee4fa0e5ade413ecf7f3.tar.gz
bun-d003fb42885af151918dee4fa0e5ade413ecf7f3.tar.zst
bun-d003fb42885af151918dee4fa0e5ade413ecf7f3.zip
Only run canary release on push to main
-rw-r--r--.github/workflows/bun.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/.github/workflows/bun.yml b/.github/workflows/bun.yml
index 54830aa56..4f9c205f6 100644
--- a/.github/workflows/bun.yml
+++ b/.github/workflows/bun.yml
@@ -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