Fix publish artifact download pattern (was not in prior commit).

Use a single glob for platform artifacts and a separate step for Android; multiline pattern values are not supported.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-14 14:30:14 +03:00
Unverified
parent 49fe4c3aa9
commit 86cd889b2e
+9 -5
View File
@@ -441,18 +441,22 @@ jobs:
sparse-checkout-cone-mode: false sparse-checkout-cone-mode: false
- uses: actions/download-artifact@v5 - uses: actions/download-artifact@v5
with: with:
pattern: | pattern: "{windows,macos,linux}-*"
windows-*
macos-*
linux-*
android
merge-multiple: true merge-multiple: true
path: artifacts path: artifacts
- uses: actions/download-artifact@v5
with:
name: android
path: artifacts
- name: Collect release assets - name: Collect release assets
env: env:
LABEL: ${{ needs.resolve-version.outputs.release_label }} LABEL: ${{ needs.resolve-version.outputs.release_label }}
run: | run: |
set -euo pipefail set -euo pipefail
if [[ ! -d artifacts ]]; then
echo "No artifacts were downloaded" >&2
exit 1
fi
mkdir -p release-assets mkdir -p release-assets
pick_one() { pick_one() {