Skip to content

Commit e229b07

Browse files
committed
combine CI build tasks into separate steps
1 parent 9143977 commit e229b07

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/build_template.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ permissions:
2121
contents: read
2222

2323
jobs:
24-
build-docker-image:
25-
name: Build Docker Image
24+
build:
25+
name: Build Docker Image and Template
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout repository
@@ -46,15 +46,6 @@ jobs:
4646
platforms: linux/amd64
4747
tags: ${{ secrets.DOCKERHUB_USERNAME }}/code-interpreter:latest
4848

49-
build-template:
50-
name: Build E2B template
51-
runs-on: ubuntu-latest
52-
needs: [build-docker-image]
53-
if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
54-
steps:
55-
- name: Checkout repository
56-
uses: actions/checkout@v4
57-
5849
- name: Install E2B CLI
5950
run: npm install -g @e2b/cli
6051

0 commit comments

Comments
 (0)