File tree Expand file tree Collapse file tree 1 file changed +17
-12
lines changed
Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change 1- ---
21name : Build
32on :
43 workflow_dispatch : {}
@@ -21,24 +20,30 @@ jobs:
2120 platform : linux/amd64
2221 - arch : aarch64
2322 platform : linux/arm64
24- container :
25- image : ubuntu:24.04
26- options : " --platform ${{ matrix.platform }} --privileged --cap-add SYS_ADMIN --device /dev/fuse"
2723 steps :
24+ - name : Checkout ghostty-appimage
25+ uses : actions/checkout@v4
26+ with :
27+ persist-credentials : false
28+
2829 - name : Set up Docker Buildx
2930 uses : docker/setup-buildx-action@v3
3031 continue-on-error : true
32+
3133 - name : Set up QEMU
3234 uses : docker/setup-qemu-action@v3
3335 continue-on-error : true
34- - name : Checkout ghostty-appimage
35- uses : actions/checkout@v4
36- with :
37- persist-credentials : false
38- - name : Setup Build Env
39- run : ./setup.sh
40- - name : Build Ghostty
41- run : ./build.sh
36+
37+ - name : Build in Docker
38+ run : |
39+ docker run --rm --privileged \
40+ --cap-add SYS_ADMIN \
41+ --device /dev/fuse \
42+ --platform ${{ matrix.platform }} \
43+ -v ${{ github.workspace }}:/work \
44+ -w /work \
45+ ubuntu:24.04 \
46+ bash -c "./setup.sh && ./build.sh"
4247 - name : Upload Artifact
4348 uses : actions/upload-artifact@v4
4449 with :
You can’t perform that action at this time.
0 commit comments