Repository navigation
567 lines (523 loc) · 21.2 KB
/
Copy pathrelease.yml
File metadata and controls
567 lines (523 loc) · 21.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
name: Package release
on:
workflow_dispatch:
push:
tags:
- "v*.*.*"
schedule:
- cron: "0 2 * * *"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
env:
# Print the Python-level traceback when a native extension crashes the
# interpreter, so CI failures like segfaults on import are diagnosable.
PYTHONFAULTHANDLER: "1"
jobs:
start-runner:
name: Start self-hosted EC2 runner
runs-on: ubuntu-22.04
timeout-minutes: 15
outputs:
label: ${{ steps.start-ec2-runner.outputs.label }}
ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}
steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.EC2_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.EC2_ACCESS_KEY_SECRET }}
aws-region: ${{ secrets.EC2_AWS_REGION }}
- name: Start EC2 runner
id: start-ec2-runner
uses: machulav/ec2-github-runner@v2.6.1
with:
mode: start
github-token: ${{ secrets.EC2_GH_PERSONAL_TOKEN }}
ec2-image-id: ${{ vars.EC2_INSTANCE_AMI_AARCH }}
ec2-instance-type: ${{ secrets.EC2_INSTANCE }}
subnet-id: ${{ secrets.EC2_SUBNET_ID }}
security-group-id: ${{ secrets.EC2_SECURITY_GROUP_ID }}
aws-resource-tags: >
[
{"Key": "Name", "Value": "ec2-github-runner"},
{"Key": "GitHubRepository", "Value": "${{ github.repository }}"}
]
Build_packages:
name: Build packages
needs: start-runner
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
os:
- ubuntu-22.04
- selfhosted-macOS
- ${{ needs.start-runner.outputs.label }}
runs-on: ${{ matrix.os }}
timeout-minutes: 270
steps:
# This will ensure we have clean workspace
- name: Cleanup build folder
run: |
ls -la ./
rm -rf ./* || true
rm -rf ./.??* || true
ls -la ./
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
- name: Git checkout
uses: actions/checkout@v6
- name: License files
run: |
rm -f LICENSE_*-LICENSE-*
for filename in library_licenses/*; do cp "$filename" "LICENSE_$(basename "${filename}")"; done;
- name: Set package version nightly
if: (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')
run: |
BUILD_NUMBER="${{ github.run_number }}"
PACKAGE_VERSION=$(perl -nle 'print $& while m{^version[[:space:]]*=[[:space:]]"\K[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(?=")}g' Cargo.toml)
[[ -z "$PACKAGE_VERSION" ]] && { echo "Malformed package version in Cargo.toml" ; exit 1; }
NEXT_PATCH_VERSION=$(echo "${PACKAGE_VERSION}" | awk -F. -v OFS=. '{$NF += 1 ; print}')
DEV_VERSION="\"${NEXT_PATCH_VERSION}-dev${BUILD_NUMBER}\""
SED_RESULT=$(sed -i -r -E 's/^(version)[[:space:]]*=[[:space:]]"([[:digit:]]+\.[[:digit:]]+).[[:digit:]]+"/\1 = '"$DEV_VERSION"'/ w /dev/stdout' Cargo.toml)
echo $DEV_VERSION
echo "__version__ = ${DEV_VERSION}" > python/pathway/internals/version.py
- name: Set package version
if: startsWith(github.ref, 'refs/tags/v')
run: |
PACKAGE_VERSION=$(perl -nle 'print $& while m{^version[[:space:]]*=[[:space:]]"\K[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(?=")}g' Cargo.toml)
[[ -z "$PACKAGE_VERSION" ]] && { echo "Malformed package version in Cargo.toml" ; exit 1; }
echo $PACKAGE_VERSION
echo "__version__ = \"${PACKAGE_VERSION}\"" > python/pathway/internals/version.py
- name: Build package Ubuntu x86-x64
if: ${{ matrix.os == 'ubuntu-22.04'}}
uses: PyO3/maturin-action@v1
with:
command: build
args: --release --strip -i python3.10
manylinux: auto
container: "quay.io/pypa/manylinux_2_28_x86_64:2026.02.01-1"
before-script-linux: |
dnf install -y \
perl-core \
llvm \
llvm-devel \
clang \
clang-devel \
postgresql-devel
- name: Install libpq (macOS)
if: ${{ matrix.os == 'selfhosted-macOS'}}
run: |
brew install libpq
LIBPQ_PREFIX=$(brew --prefix libpq)
echo "PG_CONFIG_AARCH64_APPLE_DARWIN=$LIBPQ_PREFIX/bin/pg_config" >> $GITHUB_ENV
echo "PG_CONFIG_X86_64_APPLE_DARWIN=$LIBPQ_PREFIX/bin/pg_config" >> $GITHUB_ENV
echo "LIBPQ_LIB_DIR=$LIBPQ_PREFIX/lib" >> $GITHUB_ENV
echo "LIBPQ_INCLUDE_DIR=$LIBPQ_PREFIX/include" >> $GITHUB_ENV
- name: Build package macOS Apple silicon
if: ${{ matrix.os == 'selfhosted-macOS'}}
uses: PyO3/maturin-action@v1
env:
MACOSX_DEPLOYMENT_TARGET: "10.15"
DEVELOPER_DIR: /Library/Developer/CommandLineTools
SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
# numkong's SME feature probes pass on Apple clang 16, but compiling
# the actual SME kernels crashes its frontend; NEON kernels stay on.
# Drop once the runner's CommandLineTools are upgraded past clang 16.
NK_TARGET_SME: "0"
NK_TARGET_SME2: "0"
NK_TARGET_SMEF64: "0"
NK_TARGET_SMEHALF: "0"
NK_TARGET_SMEBI32: "0"
NK_TARGET_SMELUT2: "0"
with:
command: build
args: --release --strip -i python3.10
target: aarch64-apple-darwin
- name: Build package macos x86_64
if: ${{ matrix.os == 'selfhosted-macOS'}}
uses: PyO3/maturin-action@v1
env:
MACOSX_DEPLOYMENT_TARGET: "10.15"
DEVELOPER_DIR: /Library/Developer/CommandLineTools
SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
with:
command: build
args: --release --strip -i python3.10
target: x86_64-apple-darwin
- name: Delocate macos wheels
if: ${{ matrix.os == 'selfhosted-macOS'}}
run: |
pip install delocate
delocate-wheel ./target/wheels/*.whl
- name: Build package Ubuntu AArch64
if: ${{ matrix.os == needs.start-runner.outputs.label }}
uses: PyO3/maturin-action@v1
with:
command: build
args: --release --strip -i python3.10
manylinux: 2_28
container: "quay.io/pypa/manylinux_2_28_aarch64:2026.02.01-1"
before-script-linux: |
dnf install -y \
perl-core \
llvm \
llvm-devel \
clang \
clang-devel \
postgresql-devel
python3 -m ensurepip
- name: Upload artifact
if: ${{ matrix.os == needs.start-runner.outputs.label }}
uses: actions/upload-artifact@v6
with:
name: pathway-arch64
path: ./target/wheels/
- name: Upload artifact
if: ${{ matrix.os == 'ubuntu-22.04' }}
uses: actions/upload-artifact@v6
with:
name: pathway-x86-x64
path: ./target/wheels/
- name: Upload artifact
if: ${{ matrix.os == 'selfhosted-macOS' }}
uses: actions/upload-artifact@v6
with:
name: pathway-macOS
path: ./target/wheels/
- name: Upload artifact
if: ${{ matrix.os == needs.start-runner.outputs.label }}
uses: actions/upload-artifact@v6
with:
name: CHANGELOG.md
path: CHANGELOG.md
Verify_Linux:
needs: Build_packages
name: Verify packages (${{ matrix.test-config.python-version }}, ${{ matrix.test-config.extra }})
strategy:
fail-fast: false
matrix:
test-config:
- {python-version: "3.10", extra: tests-core}
- {python-version: "3.15", extra: tests-core}
- {python-version: "3.10", extra: tests}
- {python-version: "3.14", extra: tests}
runs-on: ubuntu-22.04
timeout-minutes: 120
steps:
# This will ensure we have clean workspace
- name: Cleanup build folder
run: |
ls -la ./
rm -rf ./* || true
rm -rf ./.??* || true
ls -la ./
- name: Create dir for wheels
run: |
mkdir -p wheels
- uses: actions/download-artifact@v7
with:
name: pathway-x86-x64
path: ./wheels/
- name: Provision uv
# Same uv provisioning as the monorepo verify jobs: uv's standalone
# CPython builds work uniformly on hosted and self-hosted runners.
run: |
if ! command -v uv >/dev/null 2>&1; then
curl -LsSf https://astral.sh/uv/install.sh | sh
fi
# The installer picks its directory from its own idea of the home
# directory, which does not always match $HOME inside the step (on
# containerized runners they diverge) — locate the binary instead.
UV_BIN=$(command -v uv || true)
if [ -z "$UV_BIN" ]; then
for d in "$HOME/.local/bin" /root/.local/bin "$HOME/.cargo/bin"; do
if [ -x "$d/uv" ]; then UV_BIN="$d/uv"; break; fi
done
fi
if [ -z "$UV_BIN" ]; then echo "uv not found after install" >&2; exit 1; fi
UV_DIR=$(dirname "$UV_BIN")
export PATH="$UV_DIR:$PATH"
echo "$UV_DIR" >> "$GITHUB_PATH"
# Make sure a *stable* interpreter of the requested minor version is
# present: a stale uv cache on a runner may only hold a pre-release
# (e.g. 3.14.0a4), whose ABI differs from the final release and
# crashes extensions built for the stable cp314 ABI.
uv python install "${{ matrix.test-config.python-version }}"
# Airbyte connectors run in an isolated, supported interpreter.
uv python install "3.10"
- name: Install and verify Linux package
run: |
set -ex
ENV_NAME="testenv_${{ matrix.test-config.python-version }}_${{ matrix.test-config.extra }}"
rm -rf "${ENV_NAME}"
uv venv --seed --python "${{ matrix.test-config.python-version }}" "${ENV_NAME}"
source "${ENV_NAME}/bin/activate"
export PATHWAY_AIRBYTE_PYTHON=$(uv python find "3.10")
WHEEL=(./wheels/pathway-*.whl)
# install with uv: pip backtracks for hours on the boto/google/openapi
# dependency lattices that uv solves in seconds
uv pip install --no-cache "${WHEEL}[${{ matrix.test-config.extra }}]"
# --confcutdir anything below to avoid picking REPO_TOP_DIR/conftest.py
export PYTEST_ADDOPTS="--dist worksteal -n auto --timeout=900"
PACKAGE_DIR=$(python -c 'import pathway; print(next(iter(pathway.__path__)))')
TEST_ARGS=()
if [[ "${{ matrix.test-config.extra }}" == "tests-core" ]]; then
TEST_ARGS+=(--ignore "${PACKAGE_DIR}/xpacks")
fi
python -m pytest -v --confcutdir "${ENV_NAME}" --doctest-modules "${PACKAGE_DIR}" "${TEST_ARGS[@]}"
env:
PATHWAY_LICENSE_KEY: ${{ secrets.PATHWAY_LICENSE_KEY }}
Verify_ARM_ARCH:
needs:
- start-runner
- Build_packages
name: Verify ${{ matrix.os }} (${{ matrix.test-config.python-version }}, ${{ matrix.test-config.extra }})
strategy:
fail-fast: false
matrix:
test-config:
- {python-version: "3.10", extra: tests-core}
- {python-version: "3.15", extra: tests-core}
- {python-version: "3.10", extra: tests}
- {python-version: "3.14", extra: tests}
os:
- selfhosted-macOS
- ${{ needs.start-runner.outputs.label }}
runs-on: ${{ matrix.os }}
timeout-minutes: 120
steps:
# This will ensure we have clean workspace
- name: Cleanup build folder
run: |
ls -la ./
rm -rf ./* || true
rm -rf ./.??* || true
ls -la ./
- name: Create dir for wheels
run: |
mkdir -p wheels
- uses: actions/download-artifact@v7
if: ${{ matrix.os == 'selfhosted-macOS' }}
with:
name: pathway-macOS
path: ./wheels/
- uses: actions/download-artifact@v7
if: ${{ matrix.os == needs.start-runner.outputs.label }}
with:
name: pathway-arch64
path: ./wheels/
- name: Provision uv
# These self-hosted runners have no actions/setup-python, and the
# system pythons only cover the versions preinstalled on the runner.
# uv's standalone CPython builds work uniformly on all of them.
run: |
if ! command -v uv >/dev/null 2>&1; then
curl -LsSf https://astral.sh/uv/install.sh | sh
fi
# The installer picks its directory from its own idea of the home
# directory, which does not always match $HOME inside the step (on
# containerized runners they diverge) — locate the binary instead.
UV_BIN=$(command -v uv || true)
if [ -z "$UV_BIN" ]; then
for d in "$HOME/.local/bin" /root/.local/bin "$HOME/.cargo/bin"; do
if [ -x "$d/uv" ]; then UV_BIN="$d/uv"; break; fi
done
fi
if [ -z "$UV_BIN" ]; then echo "uv not found after install" >&2; exit 1; fi
UV_DIR=$(dirname "$UV_BIN")
export PATH="$UV_DIR:$PATH"
echo "$UV_DIR" >> "$GITHUB_PATH"
# Make sure a *stable* interpreter of the requested minor version is
# present: a stale uv cache on a runner may only hold a pre-release
# (e.g. 3.14.0a4), whose ABI differs from the final release and
# crashes extensions built for the stable cp314 ABI.
uv python install "${{ matrix.test-config.python-version }}"
# Airbyte connectors run in an isolated, supported interpreter.
uv python install "3.10"
- name: Install and verify ${{ matrix.os }} package
run: |
set -ex
ENV_NAME="testenv_${{ matrix.test-config.python-version }}_${{ matrix.test-config.extra }}"
rm -rf "${ENV_NAME}"
uv venv --seed --python "${{ matrix.test-config.python-version }}" "${ENV_NAME}"
source "${ENV_NAME}/bin/activate"
export PATHWAY_AIRBYTE_PYTHON=$(uv python find "3.10")
if [[ "${{ matrix.os }}" == 'selfhosted-macOS' ]]; then
WHEEL=(./wheels/pathway-*arm64.whl)
else
WHEEL=(./wheels/pathway-*aarch64.whl)
fi
export PATHWAY_MONITORING_HTTP_PORT=20099
export LLAMA_READER_PORT=8799
# install with uv: pip backtracks for hours on the boto/google/openapi
# dependency lattices that uv solves in seconds
uv pip install --no-cache "${WHEEL}[${{ matrix.test-config.extra }}]"
if [[ "${{ matrix.test-config.extra }}" == "tests" ]]; then
uv pip install llama_index
fi
# --confcutdir anything below to avoid picking REPO_TOP_DIR/conftest.py
if [[ "$RUNNER_NAME" == *mac* ]]; then
export PYTEST_XDIST_AUTO_NUM_WORKERS=2
fi
export PYTEST_ADDOPTS="--dist worksteal -n auto --timeout=900"
PACKAGE_DIR=$(python -c 'import pathway; print(next(iter(pathway.__path__)))')
TEST_ARGS=()
if [[ "${{ matrix.test-config.extra }}" == "tests-core" ]]; then
TEST_ARGS+=(--ignore "${PACKAGE_DIR}/xpacks")
fi
python -m pytest -v --confcutdir "${ENV_NAME}" --doctest-modules "${PACKAGE_DIR}" "${TEST_ARGS[@]}"
env:
# Dependency source wheels need a valid arm64 platform tag (macOS 11+).
MACOSX_DEPLOYMENT_TARGET: "11.0"
DEVELOPER_DIR: /Library/Developer/CommandLineTools
SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
PATHWAY_LICENSE_KEY: ${{ secrets.PATHWAY_LICENSE_KEY }}
- name: post cleanup
run: rm -rf ./wheels
Publish:
needs:
- Verify_Linux
- Verify_ARM_ARCH
- start-runner
name: Publish package
strategy:
fail-fast: false
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.ARTIFACT_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.ARTIFACT_AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.ARTIFACT_AWS_ROLE }}
aws-region: ${{ secrets.ARTIFACT_AWS_REGION }}
role-duration-seconds: 1200
- name: Create dir for wheels
run: |
mkdir -p wheels
- uses: actions/download-artifact@v7
with:
name: pathway-x86-x64
path: ./wheels/
- uses: actions/download-artifact@v7
with:
name: pathway-arch64
path: ./wheels/
- uses: actions/download-artifact@v7
with:
name: pathway-macOS
path: ./wheels/
- uses: actions/download-artifact@v7
with:
name: CHANGELOG.md
path: .
- name: Create Release
if: startsWith(github.ref, 'refs/tags/v')
uses: ncipollo/release-action@v1.12.0
with:
draft: true
artifacts: "./wheels/*.whl"
artifactContentType: "raw"
allowUpdates: true
- name: Publish package distributions to PyPI
if: startsWith(github.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
packages-dir: "./wheels/"
- name: Publish package to s3
uses: prewk/s3-cp-action@v2
with:
aws_access_key_id: ${{ secrets.ARTIFACT_AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.ARTIFACT_AWS_SECRET_ACCESS_KEY }}
dest: ${{ secrets.ARTIFACT_AWS_BUCKET }}
source: ./wheels/
flags: --recursive
- name: post cleanup
run: rm -rf ./wheels
Update_pip_index:
needs:
- Publish
name: Update pip index
strategy:
fail-fast: false
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.ARTIFACT_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.ARTIFACT_AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.ARTIFACT_AWS_ROLE }}
aws-region: ${{ secrets.ARTIFACT_AWS_REGION }}
role-duration-seconds: 1200
- name: Generate and upload pip index.html
run: |
set -ex
aws s3 cp ${{ secrets.ARTIFACT_AWS_BUCKET }}/templates/pip-index.html pip-index.html
export PACKAGE_LIST_HTML=$(aws s3 ls ${{ secrets.ARTIFACT_AWS_BUCKET }}/ | awk '/\.whl$/ {href=$4; sub("+","%252B",href); print "<li><a href=\""href"\">"$4"</a></li>"}')
perl -i -pe 's/<PACKAGE_LIST>/$ENV{"PACKAGE_LIST_HTML"}/g' pip-index.html
aws s3 cp pip-index.html ${{ secrets.ARTIFACT_AWS_BUCKET }}/index.html
- name: Publish pip index.html
uses: prewk/s3-cp-action@v2
with:
aws_access_key_id: ${{ secrets.ARTIFACT_AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.ARTIFACT_AWS_SECRET_ACCESS_KEY }}
source: pip-index.html
dest: ${{ secrets.ARTIFACT_AWS_BUCKET }}/index.html
stop-runner:
name: Stop self-hosted EC2 runner
needs:
- start-runner
- Build_packages
- Verify_ARM_ARCH
runs-on: ubuntu-22.04
timeout-minutes: 15
if: ${{ always() }}
steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.EC2_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.EC2_ACCESS_KEY_SECRET }}
aws-region: ${{ secrets.EC2_AWS_REGION }}
- name: Stop EC2 runner
uses: machulav/ec2-github-runner@v2.6.1
with:
mode: stop
github-token: ${{ secrets.EC2_GH_PERSONAL_TOKEN }}
label: ${{ needs.start-runner.outputs.label }}
ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}
Notify_on_failure:
needs:
- Build_packages
- Verify_Linux
- Verify_ARM_ARCH
- Publish
- Update_pip_index
if: failure()
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Post to a Slack channel
id: slack
uses: slackapi/slack-github-action@v2.1.1
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: webhook-trigger
payload: |
{
"text": ":warning: :warning: GitHub Action build result: failure :manul:\nAction run URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} :warning: :warning:",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ":warning: :warning: GitHub Action build result: failure :manul:\nAction run URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} :warning: :warning:"
}
}
]
}