29
29
require_approval : true
30
30
allow_workflow_dispatch : true
31
31
32
- # E2E Docker
33
32
build-docker :
34
33
needs : approval-dedupe
35
34
if : needs.approval-dedupe.outputs.mode == 'run'
@@ -39,46 +38,53 @@ jobs:
39
38
debug : ${{ inputs.debug || false }}
40
39
for_e2e_tests : true
41
40
42
- e2e-docker-tests :
43
- needs : build-docker
44
- uses : ./.github/workflows/tests-e2e-docker.yml
41
+ build-appimage :
42
+ needs : approval-dedupe
43
+ if : needs.approval-dedupe.outputs.mode == 'run'
44
+ uses : ./.github/workflows/pipeline-build-linux.yml
45
45
secrets : inherit
46
46
with :
47
+ target : build_linux_appimage_x64
47
48
debug : ${{ inputs.debug || false }}
48
49
49
- tests-e2e-playwright :
50
- needs : build-docker
51
- uses : ./.github/workflows/tests-e2e-playwright.yml
50
+ builds-complete :
51
+ needs : [build-docker, build-appimage]
52
+ runs-on : ubuntu-latest
53
+ steps :
54
+ - name : Both builds finished
55
+ run : echo "Docker and AppImage builds completed"
56
+
57
+ e2e-docker-tests :
58
+ needs : builds-complete
59
+ uses : ./.github/workflows/tests-e2e-docker.yml
52
60
secrets : inherit
53
61
with :
54
62
debug : ${{ inputs.debug || false }}
55
63
56
- # E2E AppImage
57
- build-appimage :
58
- needs : approval-dedupe
59
- if : needs.approval-dedupe.outputs.mode == 'run'
60
- uses : ./.github/workflows/pipeline-build-linux.yml
64
+ tests-e2e-playwright :
65
+ needs : builds-complete
66
+ uses : ./.github/workflows/tests-e2e-playwright.yml
61
67
secrets : inherit
62
68
with :
63
- target : build_linux_appimage_x64
64
69
debug : ${{ inputs.debug || false }}
65
70
66
71
e2e-appimage-tests :
67
- needs : build-appimage
72
+ needs : builds-complete
68
73
uses : ./.github/workflows/tests-e2e-appimage.yml
69
74
secrets : inherit
70
75
with :
71
76
debug : ${{ inputs.debug || false }}
72
77
73
78
clean :
74
79
uses : ./.github/workflows/clean-deployments.yml
75
- if : always()
76
- needs : [e2e-docker-tests, e2e-appimage-tests, tests-e2e-playwright]
80
+ if : always() && needs.approval-dedupe.outputs.mode == 'run'
81
+ needs : [approval-dedupe, e2e-docker-tests, e2e-appimage-tests, tests-e2e-playwright]
77
82
78
83
# Remove artifacts from github actions
79
84
remove-artifacts :
80
85
name : Remove artifacts
81
- needs : [e2e-docker-tests, e2e-appimage-tests, tests-e2e-playwright]
86
+ if : needs.approval-dedupe.outputs.mode == 'run'
87
+ needs : [approval-dedupe, e2e-docker-tests, e2e-appimage-tests, tests-e2e-playwright]
82
88
runs-on : ubuntu-latest
83
89
steps :
84
90
- uses : actions/checkout@v4
0 commit comments