|
6 | 6 | - "**" |
7 | 7 | tags: |
8 | 8 | - "v*" |
9 | | - paths-ignore: |
10 | | - - ".github/workflows/build-ghostty.yml" |
11 | 9 | pull_request: |
12 | | - paths-ignore: |
13 | | - - ".github/workflows/build-ghostty.yml" |
14 | 10 | workflow_dispatch: |
15 | 11 | inputs: |
16 | 12 | version: |
@@ -142,12 +138,10 @@ jobs: |
142 | 138 | with: |
143 | 139 | path: | |
144 | 140 | artifacts/tools |
145 | | - artifacts/ghostty-src |
146 | | - native/ghostty/*/* |
147 | 141 | native/linux-pty/*/dt-pty-host |
148 | 142 | native/noto-emoji/NotoColorEmoji.ttf |
149 | 143 | # Never restore native sources or reuse binaries built from different inputs. |
150 | | - key: native-v2-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/**/*.ps1', 'native/ghostty/ghostty-upstream.json', 'native/linux-pty/dt-pty-host.c', 'native/noto-emoji/noto-emoji.json') }} |
| 144 | + key: native-v3-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/**/*.ps1', 'native/zig.json', 'native/linux-pty/dt-pty-host.c', 'native/noto-emoji/noto-emoji.json') }} |
151 | 145 |
|
152 | 146 | - name: Set up .NET |
153 | 147 | uses: actions/setup-dotnet@v4 |
@@ -199,7 +193,7 @@ jobs: |
199 | 193 | uses: actions/cache@v4 |
200 | 194 | with: |
201 | 195 | path: artifacts/tools |
202 | | - key: zig-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/Zig.ps1', 'native/ghostty/ghostty-upstream.json') }} |
| 196 | + key: zig-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/Zig.ps1', 'native/zig.json') }} |
203 | 197 |
|
204 | 198 | - name: Build dt-pty-host for every Unix RID |
205 | 199 | shell: pwsh |
@@ -233,7 +227,7 @@ jobs: |
233 | 227 | with: |
234 | 228 | path: | |
235 | 229 | native/noto-emoji/NotoColorEmoji.ttf |
236 | | - key: native-v2-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/**/*.ps1', 'native/ghostty/ghostty-upstream.json', 'native/linux-pty/dt-pty-host.c', 'native/noto-emoji/noto-emoji.json') }} |
| 230 | + key: native-v3-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/**/*.ps1', 'native/zig.json', 'native/linux-pty/dt-pty-host.c', 'native/noto-emoji/noto-emoji.json') }} |
237 | 231 |
|
238 | 232 | - name: Set up .NET |
239 | 233 | uses: actions/setup-dotnet@v4 |
@@ -337,11 +331,9 @@ jobs: |
337 | 331 | with: |
338 | 332 | path: | |
339 | 333 | artifacts/tools |
340 | | - artifacts/ghostty-src |
341 | | - native/ghostty/*/* |
342 | 334 | native/linux-pty/*/dt-pty-host |
343 | 335 | native/noto-emoji/NotoColorEmoji.ttf |
344 | | - key: native-v2-${{ runner.os }}-${{ runner.arch }}-${{ matrix.rid }}-${{ hashFiles('native/**/*.ps1', 'native/ghostty/ghostty-upstream.json', 'native/linux-pty/dt-pty-host.c', 'native/noto-emoji/noto-emoji.json') }} |
| 336 | + key: native-v3-${{ runner.os }}-${{ runner.arch }}-${{ matrix.rid }}-${{ hashFiles('native/**/*.ps1', 'native/zig.json', 'native/linux-pty/dt-pty-host.c', 'native/noto-emoji/noto-emoji.json') }} |
345 | 337 |
|
346 | 338 | - name: Set up .NET |
347 | 339 | uses: actions/setup-dotnet@v4 |
@@ -378,11 +370,9 @@ jobs: |
378 | 370 | with: |
379 | 371 | path: | |
380 | 372 | artifacts/tools |
381 | | - artifacts/ghostty-src |
382 | | - native/ghostty/*/* |
383 | 373 | native/linux-pty/*/dt-pty-host |
384 | 374 | native/noto-emoji/NotoColorEmoji.ttf |
385 | | - key: native-v2-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/**/*.ps1', 'native/ghostty/ghostty-upstream.json', 'native/linux-pty/dt-pty-host.c', 'native/noto-emoji/noto-emoji.json') }} |
| 375 | + key: native-v3-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/**/*.ps1', 'native/zig.json', 'native/linux-pty/dt-pty-host.c', 'native/noto-emoji/noto-emoji.json') }} |
386 | 376 |
|
387 | 377 | - name: Set up .NET |
388 | 378 | uses: actions/setup-dotnet@v4 |
@@ -411,11 +401,9 @@ jobs: |
411 | 401 | with: |
412 | 402 | path: | |
413 | 403 | artifacts/tools |
414 | | - artifacts/ghostty-src |
415 | | - native/ghostty/*/* |
416 | 404 | native/linux-pty/*/dt-pty-host |
417 | 405 | native/noto-emoji/NotoColorEmoji.ttf |
418 | | - key: native-v2-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/**/*.ps1', 'native/ghostty/ghostty-upstream.json', 'native/linux-pty/dt-pty-host.c', 'native/noto-emoji/noto-emoji.json') }} |
| 406 | + key: native-v3-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/**/*.ps1', 'native/zig.json', 'native/linux-pty/dt-pty-host.c', 'native/noto-emoji/noto-emoji.json') }} |
419 | 407 |
|
420 | 408 | - name: Set up .NET |
421 | 409 | uses: actions/setup-dotnet@v4 |
@@ -460,11 +448,9 @@ jobs: |
460 | 448 | with: |
461 | 449 | path: | |
462 | 450 | artifacts/tools |
463 | | - artifacts/ghostty-src |
464 | | - native/ghostty/*/* |
465 | 451 | native/linux-pty/*/dt-pty-host |
466 | 452 | native/noto-emoji/NotoColorEmoji.ttf |
467 | | - key: native-v2-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/**/*.ps1', 'native/ghostty/ghostty-upstream.json', 'native/linux-pty/dt-pty-host.c', 'native/noto-emoji/noto-emoji.json') }} |
| 453 | + key: native-v3-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/**/*.ps1', 'native/zig.json', 'native/linux-pty/dt-pty-host.c', 'native/noto-emoji/noto-emoji.json') }} |
468 | 454 |
|
469 | 455 | - name: Set up .NET |
470 | 456 | uses: actions/setup-dotnet@v4 |
|
0 commit comments