forked from MoonshotAI/kimi-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
627 lines (528 loc) · 22.5 KB
/
Copy pathrelease-kimi-cli.yml
File metadata and controls
627 lines (528 loc) · 22.5 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
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
name: Release (kimi-cli)
on:
push:
tags:
- "[0-9]*"
permissions:
contents: write
jobs:
validate:
name: Validate tag
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: "3.14"
allow-prereleases: true
- name: Check version tag
run: |
python scripts/check_version_tag.py \
--pyproject pyproject.toml \
--expected-version "${GITHUB_REF_NAME}"
- name: Check kimi-code version tag
run: |
python scripts/check_version_tag.py \
--pyproject packages/kimi-code/pyproject.toml \
--expected-version "${GITHUB_REF_NAME}"
- name: Check dependency versions
run: |
python scripts/check_kimi_dependency_versions.py \
--root-pyproject pyproject.toml \
--kosong-pyproject packages/kosong/pyproject.toml \
--pykaos-pyproject packages/kaos/pyproject.toml
- name: Check kagent version tag
run: |
python scripts/check_cargo_version_tag.py \
--cargo-toml rust/Cargo.toml \
--expected-version "${GITHUB_REF_NAME}"
build:
name: Build binaries (${{ matrix.target }})
needs: validate
strategy:
fail-fast: false
matrix:
include:
- runner: ubuntu-22.04
target: x86_64-unknown-linux-gnu
- runner: ubuntu-22.04-arm
target: aarch64-unknown-linux-gnu
- runner: macos-14
target: aarch64-apple-darwin
- runner: windows-2022
target: x86_64-pc-windows-msvc
- runner: windows-11-arm
target: aarch64-pc-windows-msvc
runs-on: ${{ matrix.runner }}
env:
KIMI_WEB_STRICT_VERSION: "1"
KIMI_WEB_EXPECT_VERSION: ${{ github.ref_name }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install GNU Make (Windows)
if: runner.os == 'Windows'
run: choco install make -y
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: "3.14"
allow-prereleases: true
- name: Set up uv
uses: astral-sh/setup-uv@v1
with:
version: "0.8.5"
- name: Set up Node.js (web build)
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: web/package-lock.json
- name: Prepare building environment
run: make prepare-build
# macOS: Setup signing certificate before build
- name: Setup macOS signing certificate
if: runner.os == 'macOS'
env:
APPLE_CERTIFICATE_P12: ${{ secrets.APPLE_CERTIFICATE_P12 }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
KEYCHAIN_PASSWORD: actions
run: |
set -euo pipefail
# Decode certificate
cert_path="${RUNNER_TEMP}/certificate.p12"
echo "$APPLE_CERTIFICATE_P12" | base64 -d > "$cert_path"
# Create temporary keychain
keychain_path="${RUNNER_TEMP}/signing.keychain-db"
security create-keychain -p "$KEYCHAIN_PASSWORD" "$keychain_path"
security set-keychain-settings -lut 21600 "$keychain_path"
security unlock-keychain -p "$KEYCHAIN_PASSWORD" "$keychain_path"
# Add to keychain search list
security list-keychains -d user -s "$keychain_path" $(security list-keychains -d user | tr -d '"')
security default-keychain -s "$keychain_path"
# Import certificate
security import "$cert_path" -k "$keychain_path" -P "$APPLE_CERTIFICATE_PASSWORD" -T /usr/bin/codesign -T /usr/bin/security
security set-key-partition-list -S apple-tool:,apple: -s -k "$KEYCHAIN_PASSWORD" "$keychain_path" > /dev/null
# Find signing identity
IDENTITY=$(security find-identity -v -p codesigning "$keychain_path" | grep "Developer ID Application" | head -1 | sed -n 's/.*"\(Developer ID Application[^"]*\)".*/\1/p')
if [[ -z "$IDENTITY" ]]; then
echo "❌ No Developer ID Application identity found"
security find-identity -v -p codesigning "$keychain_path"
exit 1
fi
echo "✅ Found signing identity: $IDENTITY"
echo "APPLE_SIGNING_IDENTITY=$IDENTITY" >> "$GITHUB_ENV"
echo "APPLE_KEYCHAIN_PATH=$keychain_path" >> "$GITHUB_ENV"
rm -f "$cert_path"
# Build onefile and onedir versions (all platforms)
- name: Build standalone binary (onefile)
run: make build-bin
- name: Build standalone binary (onedir)
env:
PYINSTALLER_ONEDIR: "1"
run: make build-bin-onedir
- name: Build kagent release binary
working-directory: rust
run: cargo build -p kagent --release
# macOS: Sign onefile binary
- name: Sign macOS onefile binary
if: runner.os == 'macOS'
run: |
set -euo pipefail
echo "Signing onefile binary..."
codesign --deep --force --options runtime --timestamp \
--sign "$APPLE_SIGNING_IDENTITY" \
--keychain "$APPLE_KEYCHAIN_PATH" \
dist/onefile/kimi
echo "✅ Onefile binary signed"
codesign -dv --verbose=2 dist/onefile/kimi
# macOS: Sign onedir binaries (all dylibs and executables)
- name: Sign macOS onedir binaries
if: runner.os == 'macOS'
run: |
set -euo pipefail
echo "Signing onedir binaries..."
# 1. Sign all dylibs and so files first (excluding those inside frameworks)
find dist/onedir/kimi -type f \( -name "*.dylib" -o -name "*.so" \) ! -path "*.framework/*" | while read -r lib; do
echo "Signing: $lib"
codesign --force --options runtime --timestamp \
--sign "$APPLE_SIGNING_IDENTITY" \
--keychain "$APPLE_KEYCHAIN_PATH" \
"$lib"
done
# 2. Sign all frameworks with --deep (important for Python.framework)
find dist/onedir/kimi -type d -name "*.framework" | while read -r framework; do
echo "Signing framework: $framework"
codesign --deep --force --options runtime --timestamp \
--sign "$APPLE_SIGNING_IDENTITY" \
--keychain "$APPLE_KEYCHAIN_PATH" \
"$framework"
done
# 3. Sign the main executable last
echo "Signing main executable: dist/onedir/kimi/kimi"
codesign --force --options runtime --timestamp \
--sign "$APPLE_SIGNING_IDENTITY" \
--keychain "$APPLE_KEYCHAIN_PATH" \
dist/onedir/kimi/kimi
echo "✅ Onedir binaries signed"
codesign -dv --verbose=2 dist/onedir/kimi/kimi
codesign --verify --deep --strict dist/onedir/kimi/kimi && echo "✅ Deep verification passed"
# macOS: Sign kagent binary
- name: Sign macOS kagent binary
if: runner.os == 'macOS'
run: |
set -euo pipefail
echo "Signing kagent binary..."
codesign --deep --force --options runtime --timestamp \
--sign "$APPLE_SIGNING_IDENTITY" \
--keychain "$APPLE_KEYCHAIN_PATH" \
rust/target/release/kagent
echo "✅ kagent binary signed"
codesign -dv --verbose=2 rust/target/release/kagent
# macOS: Notarize onefile binary
- name: Notarize macOS onefile binary
if: runner.os == 'macOS'
env:
APPLE_NOTARIZATION_KEY_P8: ${{ secrets.APPLE_NOTARIZATION_KEY_P8 }}
APPLE_NOTARIZATION_KEY_ID: ${{ secrets.APPLE_NOTARIZATION_KEY_ID }}
APPLE_NOTARIZATION_ISSUER_ID: ${{ secrets.APPLE_NOTARIZATION_ISSUER_ID }}
run: |
set -euo pipefail
# Save API key
key_path="${RUNNER_TEMP}/AuthKey.p8"
echo "$APPLE_NOTARIZATION_KEY_P8" | base64 -d > "$key_path"
# Create zip for notarization (use --norsrc to avoid ._ AppleDouble files)
zip_path="${RUNNER_TEMP}/kimi-onefile.zip"
ditto -c -k --norsrc --keepParent dist/onefile/kimi "$zip_path"
echo "Submitting onefile for notarization..."
# Submit and capture output for status verification
xcrun notarytool submit "$zip_path" \
--key "$key_path" \
--key-id "$APPLE_NOTARIZATION_KEY_ID" \
--issuer "$APPLE_NOTARIZATION_ISSUER_ID" \
--wait \
--timeout 15m \
2>&1 | tee /tmp/notarize-onefile.log
# Verify notarization was accepted
if ! grep -q "status: Accepted" /tmp/notarize-onefile.log; then
echo "❌ Onefile notarization failed!"
cat /tmp/notarize-onefile.log
# Get detailed error log from Apple
submission_id=$(grep "id:" /tmp/notarize-onefile.log | head -1 | awk '{print $2}')
if [[ -n "$submission_id" ]]; then
echo "Fetching notarization log for submission: $submission_id"
xcrun notarytool log "$submission_id" \
--key "$key_path" \
--key-id "$APPLE_NOTARIZATION_KEY_ID" \
--issuer "$APPLE_NOTARIZATION_ISSUER_ID" 2>&1 || true
fi
exit 1
fi
echo "✅ Onefile notarization completed and accepted"
# Verify signature and notarization status
echo "Verifying onefile signature..."
codesign -dv --verbose=2 dist/onefile/kimi
echo "Verifying onefile notarization (online check)..."
spctl -a -vvv -t install dist/onefile/kimi
# Cleanup
rm -f "$zip_path" /tmp/notarize-onefile.log
# macOS: Notarize onedir binaries
- name: Notarize macOS onedir binaries
if: runner.os == 'macOS'
env:
APPLE_NOTARIZATION_KEY_P8: ${{ secrets.APPLE_NOTARIZATION_KEY_P8 }}
APPLE_NOTARIZATION_KEY_ID: ${{ secrets.APPLE_NOTARIZATION_KEY_ID }}
APPLE_NOTARIZATION_ISSUER_ID: ${{ secrets.APPLE_NOTARIZATION_ISSUER_ID }}
run: |
set -euo pipefail
# Save API key (might already exist from previous step)
key_path="${RUNNER_TEMP}/AuthKey.p8"
if [[ ! -f "$key_path" ]]; then
echo "$APPLE_NOTARIZATION_KEY_P8" | base64 -d > "$key_path"
fi
# Create zip for notarization (use --norsrc to avoid ._ AppleDouble files)
zip_path="${RUNNER_TEMP}/kimi-onedir.zip"
ditto -c -k --norsrc --keepParent dist/onedir/kimi "$zip_path"
echo "Submitting onedir for notarization..."
# Submit and capture output for status verification
xcrun notarytool submit "$zip_path" \
--key "$key_path" \
--key-id "$APPLE_NOTARIZATION_KEY_ID" \
--issuer "$APPLE_NOTARIZATION_ISSUER_ID" \
--wait \
--timeout 15m \
2>&1 | tee /tmp/notarize-onedir.log
# Verify notarization was accepted
if ! grep -q "status: Accepted" /tmp/notarize-onedir.log; then
echo "❌ Onedir notarization failed!"
cat /tmp/notarize-onedir.log
# Get detailed error log from Apple
submission_id=$(grep "id:" /tmp/notarize-onedir.log | head -1 | awk '{print $2}')
if [[ -n "$submission_id" ]]; then
echo "Fetching notarization log for submission: $submission_id"
xcrun notarytool log "$submission_id" \
--key "$key_path" \
--key-id "$APPLE_NOTARIZATION_KEY_ID" \
--issuer "$APPLE_NOTARIZATION_ISSUER_ID" 2>&1 || true
fi
exit 1
fi
echo "✅ Onedir notarization completed and accepted"
# Verify signature and notarization status
echo "Verifying onedir signature..."
codesign -dv --verbose=2 dist/onedir/kimi/kimi
echo "Verifying onedir notarization (online check)..."
spctl -a -vvv -t install dist/onedir/kimi/kimi
# Cleanup
rm -f "$key_path" "$zip_path" /tmp/notarize-onedir.log
# macOS: Notarize kagent binary
- name: Notarize macOS kagent binary
if: runner.os == 'macOS'
env:
APPLE_NOTARIZATION_KEY_P8: ${{ secrets.APPLE_NOTARIZATION_KEY_P8 }}
APPLE_NOTARIZATION_KEY_ID: ${{ secrets.APPLE_NOTARIZATION_KEY_ID }}
APPLE_NOTARIZATION_ISSUER_ID: ${{ secrets.APPLE_NOTARIZATION_ISSUER_ID }}
run: |
set -euo pipefail
# Save API key
key_path="${RUNNER_TEMP}/AuthKey.p8"
echo "$APPLE_NOTARIZATION_KEY_P8" | base64 -d > "$key_path"
# Create zip for notarization (use --norsrc to avoid ._ AppleDouble files)
zip_path="${RUNNER_TEMP}/kagent.zip"
ditto -c -k --norsrc --keepParent rust/target/release/kagent "$zip_path"
echo "Submitting kagent for notarization..."
# Submit and capture output for status verification
xcrun notarytool submit "$zip_path" \
--key "$key_path" \
--key-id "$APPLE_NOTARIZATION_KEY_ID" \
--issuer "$APPLE_NOTARIZATION_ISSUER_ID" \
--wait \
--timeout 15m \
2>&1 | tee /tmp/notarize-kagent.log
# Verify notarization was accepted
if ! grep -q "status: Accepted" /tmp/notarize-kagent.log; then
echo "❌ kagent notarization failed!"
cat /tmp/notarize-kagent.log
# Get detailed error log from Apple
submission_id=$(grep "id:" /tmp/notarize-kagent.log | head -1 | awk '{print $2}')
if [[ -n "$submission_id" ]]; then
echo "Fetching notarization log for submission: $submission_id"
xcrun notarytool log "$submission_id" \
--key "$key_path" \
--key-id "$APPLE_NOTARIZATION_KEY_ID" \
--issuer "$APPLE_NOTARIZATION_ISSUER_ID" 2>&1 || true
fi
exit 1
fi
echo "✅ kagent notarization completed and accepted"
# Verify signature and notarization status
echo "Verifying kagent signature..."
codesign -dv --verbose=2 rust/target/release/kagent
echo "Verifying kagent notarization (online check)..."
spctl -a -vvv -t install rust/target/release/kagent
# Cleanup
rm -f "$key_path" "$zip_path" /tmp/notarize-kagent.log
# macOS: Cleanup keychain
- name: Cleanup macOS keychain
if: always() && runner.os == 'macOS'
run: |
if [[ -n "${APPLE_KEYCHAIN_PATH:-}" && -f "${APPLE_KEYCHAIN_PATH}" ]]; then
security delete-keychain "$APPLE_KEYCHAIN_PATH" || true
fi
# Package onefile artifact (all platforms)
- name: Package onefile artifact
shell: python
env:
TAG: ${{ github.ref_name }}
TARGET: ${{ matrix.target }}
run: |
import os
import pathlib
import tarfile
import zipfile
tag = os.environ["TAG"]
target = os.environ["TARGET"]
dist_dir = pathlib.Path("dist")
artifacts_dir = pathlib.Path("artifacts")
artifacts_dir.mkdir(parents=True, exist_ok=True)
is_windows = "windows" in target
is_macos = "apple-darwin" in target
binary_name = "kimi.exe" if is_windows else "kimi"
binary_path = dist_dir / "onefile" / binary_name
if not binary_path.exists():
raise SystemExit(f"Binary not found at {binary_path}")
# Determine archive format and name
# - Windows: .zip
# - macOS: .tar.gz
# - Linux: .tar.gz
if is_windows:
archive_name = f"kimi-{tag}-{target}.zip"
archive_path = artifacts_dir / archive_name
with zipfile.ZipFile(archive_path, "w", compression=zipfile.ZIP_DEFLATED) as archive_file:
archive_file.write(binary_path, arcname=binary_name)
else:
archive_name = f"kimi-{tag}-{target}.tar.gz"
archive_path = artifacts_dir / archive_name
with tarfile.open(archive_path, "w:gz") as archive_file:
archive_file.add(binary_path, arcname="kimi")
print(f"Built onefile artifact: {archive_path}")
# Package onedir artifact (all platforms)
- name: Package onedir artifact
shell: python
env:
TAG: ${{ github.ref_name }}
TARGET: ${{ matrix.target }}
run: |
import os
import pathlib
import tarfile
import zipfile
tag = os.environ["TAG"]
target = os.environ["TARGET"]
dist_dir = pathlib.Path("dist")
artifacts_dir = pathlib.Path("artifacts")
artifacts_dir.mkdir(parents=True, exist_ok=True)
is_windows = "windows" in target
# Windows: onedir is dist/onedir/kimi with kimi.exe inside
# Others: onedir is dist/onedir/kimi with kimi inside
onedir_path = dist_dir / "onedir" / "kimi"
if not onedir_path.exists() or not onedir_path.is_dir():
raise SystemExit(f"Onedir directory not found at {onedir_path}")
if is_windows:
archive_name = f"kimi-{tag}-{target}-onedir.zip"
archive_path = artifacts_dir / archive_name
with zipfile.ZipFile(archive_path, "w", compression=zipfile.ZIP_DEFLATED) as archive_file:
# Add the directory contents with kimi/ as the root
for item in onedir_path.rglob("*"):
if item.is_file():
arcname = f"kimi/{item.relative_to(onedir_path)}"
archive_file.write(item, arcname=arcname)
else:
archive_name = f"kimi-{tag}-{target}-onedir.tar.gz"
archive_path = artifacts_dir / archive_name
with tarfile.open(archive_path, "w:gz") as archive_file:
# Add the directory contents with kimi/ as the root
for item in onedir_path.iterdir():
archive_file.add(item, arcname=f"kimi/{item.name}")
print(f"Built onedir artifact: {archive_path}")
# Package kagent artifact (all platforms)
- name: Package kagent artifact
shell: python
env:
TAG: ${{ github.ref_name }}
TARGET: ${{ matrix.target }}
run: |
import os
import pathlib
import tarfile
import zipfile
tag = os.environ["TAG"]
target = os.environ["TARGET"]
dist_dir = pathlib.Path("rust") / "target" / "release"
artifacts_dir = pathlib.Path("artifacts")
artifacts_dir.mkdir(parents=True, exist_ok=True)
is_windows = "windows" in target
binary_name = "kagent.exe" if is_windows else "kagent"
binary_path = dist_dir / binary_name
if not binary_path.exists():
raise SystemExit(f"kagent binary not found at {binary_path}")
if is_windows:
archive_name = f"kagent-{tag}-{target}.zip"
archive_path = artifacts_dir / archive_name
with zipfile.ZipFile(archive_path, "w", compression=zipfile.ZIP_DEFLATED) as archive_file:
archive_file.write(binary_path, arcname=binary_name)
else:
archive_name = f"kagent-{tag}-{target}.tar.gz"
archive_path = artifacts_dir / archive_name
with tarfile.open(archive_path, "w:gz") as archive_file:
archive_file.add(binary_path, arcname="kagent")
print(f"Built kagent artifact: {archive_path}")
- name: Set artifact name
id: artifact
shell: python
run: |
import os
ref = os.environ["GITHUB_REF_NAME"].replace("/", "-")
target = "${{ matrix.target }}"
with open(os.environ["GITHUB_OUTPUT"], "a") as f:
f.write(f"name=kimi-{ref}-{target}\n")
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ steps.artifact.outputs.name }}
path: artifacts/*
if-no-files-found: error
retention-days: 7
release:
name: Publish GitHub Release
needs: build
runs-on: ubuntu-latest
steps:
- name: Download all build artifacts
uses: actions/download-artifact@v4
with:
path: ./downloads
merge-multiple: true
- name: Show downloaded files
run: ls -laR downloads
- name: Generate per-file SHA256 sums
shell: bash
run: |
set -euxo pipefail
cd downloads
shopt -s nullglob
for f in *.tar.gz *.zip; do
sha256sum "$f" > "$f.sha256"
echo "sha256($(basename "$f"))=$(cut -d' ' -f1 "$f.sha256")"
done
ls -la
- name: Create GitHub Release and upload assets
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
generate_release_notes: true
files: |
downloads/*.tar.gz
downloads/*.zip
downloads/*.tar.gz.sha256
downloads/*.zip.sha256
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-python:
name: Publish Python package
needs: validate
runs-on: ubuntu-latest
env:
KIMI_WEB_STRICT_VERSION: "1"
KIMI_WEB_EXPECT_VERSION: ${{ github.ref_name }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: "3.14"
allow-prereleases: true
- name: Set up uv
uses: astral-sh/setup-uv@v1
with:
version: "0.8.5"
- name: Set up Node.js (web build)
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: web/package-lock.json
- name: Build distributions
run: make build-kimi-cli
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: dist