mirror of
https://github.com/fromchat-messenger/app.git
synced 2026-09-22 19:15:05 +03:00
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:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user