Skip to content

Commit ab646de

Browse files
arturcicclaude
andcommitted
ci: download native packages in a single step via pattern matching
Collapse the three per-OS 'native-*' download-artifact steps into one step using 'pattern: native-*' with 'merge-multiple: true'. The action fetches the matched artifacts concurrently and extracts them flat into the same path, preserving the previous layout. Behavior-preserving. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 006389c commit ab646de

1 file changed

Lines changed: 3 additions & 14 deletions

File tree

.github/actions/artifacts-restore/action.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,10 @@ runs:
55
using: 'composite'
66
steps:
77
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
8-
name: Download native linux packages
8+
name: Download native packages
99
with:
10-
name: native-Linux
11-
path: ${{ github.workspace }}/artifacts/packages/native
12-
13-
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
14-
name: Download native windows packages
15-
with:
16-
name: native-Windows
17-
path: ${{ github.workspace }}/artifacts/packages/native
18-
19-
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
20-
name: Download native macos packages
21-
with:
22-
name: native-macOS
10+
pattern: native-*
11+
merge-multiple: true
2312
path: ${{ github.workspace }}/artifacts/packages/native
2413

2514
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1

0 commit comments

Comments
 (0)