Skip to content

Commit 17e75cc

Browse files
committed
combine e2e and bulid
1 parent 77ccfa9 commit 17e75cc

1 file changed

Lines changed: 4 additions & 20 deletions

File tree

.github/workflows/build-flow-emulator.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- v0
7-
- nialexsan/mainnet-fork-test
87

98
# Manual trigger, with a flag to decide if we also push
109
workflow_dispatch:
@@ -18,12 +17,13 @@ env:
1817
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/flow-emulator-fork
1918

2019
jobs:
21-
test:
22-
name: E2E Mainnet Fork Tests
20+
test-and-build:
21+
name: E2E Tests and Build
2322
runs-on: ubuntu-latest
2423

2524
permissions:
26-
contents: write
25+
contents: read
26+
packages: write
2727

2828
steps:
2929
- name: Checkout
@@ -43,22 +43,6 @@ jobs:
4343
- name: Run e2e mainnet fork tests
4444
run: ./local/e2e_mainnet_fork.sh
4545

46-
build:
47-
name: Build Mainnet Fork Emulator Image
48-
runs-on: ubuntu-latest
49-
needs: test
50-
51-
permissions:
52-
contents: read
53-
packages: write
54-
55-
steps:
56-
- name: Checkout
57-
uses: actions/checkout@v4
58-
with:
59-
submodules: recursive
60-
token: ${{ secrets.GH_PAT }}
61-
6246
- name: Log in to GHCR
6347
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.push == true)
6448
uses: docker/login-action@v3

0 commit comments

Comments
 (0)