Compare commits

..

6 Commits

Author SHA1 Message Date
RichardAH
fd0845f9fc Merge branch 'dev' into sublimator-patch-5 2025-11-27 09:39:11 +10:00
tequ
70bbe83525 Revert "Update workers to self hosted" (#638) 2025-11-27 09:38:45 +10:00
tequ
bbff5e29d8 Enhance GitHub Actions workflow by escaping "double quotes in PR title" (#640) 2025-11-27 09:36:02 +10:00
Wietse Wind
c42cb0df62 Update workers to self hosted 2025-11-25 15:42:01 +01:00
Niq Dudfield
69e2831ca7 Wind back macOS runner version 2025-11-25 13:39:45 +07:00
Niq Dudfield
8efc02b2d4 refactor(ci): fix caching and improve [ci-] tag handling (#633) 2025-11-25 16:23:41 +10:00
2 changed files with 10 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ jobs:
- Ninja - Ninja
configuration: configuration:
- Debug - Debug
runs-on: macos-15-xlarge runs-on: macos-15
env: env:
build_dir: .build build_dir: .build
# Bump this number to invalidate all caches globally. # Bump this number to invalidate all caches globally.

View File

@@ -19,6 +19,14 @@ jobs:
outputs: outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }} matrix: ${{ steps.set-matrix.outputs.matrix }}
steps: steps:
- name: escape double quotes
id: escape
shell: bash
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
ESCAPED_PR_TITLE="${PR_TITLE//\"/\\\"}"
echo "title=${ESCAPED_PR_TITLE}" >> "$GITHUB_OUTPUT"
- name: Generate build matrix - name: Generate build matrix
id: set-matrix id: set-matrix
shell: python shell: python
@@ -102,7 +110,7 @@ jobs:
ref = "${{ github.ref }}" ref = "${{ github.ref }}"
base_ref = "${{ github.base_ref }}" # For PRs, this is the target branch base_ref = "${{ github.base_ref }}" # For PRs, this is the target branch
event_name = "${{ github.event_name }}" event_name = "${{ github.event_name }}"
pr_title = """${{ github.event.pull_request.title }}""" pr_title = """${{ steps.escape.outputs.title }}"""
pr_head_sha = "${{ github.event.pull_request.head.sha }}" pr_head_sha = "${{ github.event.pull_request.head.sha }}"
# Get commit message - for PRs, fetch via API since head_commit.message is empty # Get commit message - for PRs, fetch via API since head_commit.message is empty