Skip to content

Commit e58411d

Browse files
authored
fix
1 parent 2fc6ecb commit e58411d

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
---
21
name: Build
32
on:
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:

0 commit comments

Comments
 (0)