Skip to content

Commit 13692ab

Browse files
add artifact merge job to combine all platform builds
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 062cd77 commit 13692ab

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,4 +258,26 @@ jobs:
258258
uses: actions/upload-artifact@v4
259259
with:
260260
name: jaylib-windows-x86
261-
path: ./jaylib-natives*.jar
261+
path: ./jaylib-natives*.jar
262+
263+
merge-artifacts:
264+
runs-on: ubuntu-latest
265+
needs: [build-linux, build-linux-32bit, build-mac, build-windows, build-windows32]
266+
267+
steps:
268+
- name: Download all artifacts
269+
uses: actions/download-artifact@v4
270+
with:
271+
path: artifacts
272+
merge-multiple: true
273+
274+
- name: Create merged artifact
275+
run: |
276+
cd artifacts
277+
zip -r ../jaylib-all-platforms.zip .
278+
279+
- name: Upload merged artifact
280+
uses: actions/upload-artifact@v4
281+
with:
282+
name: jaylib-all-platforms
283+
path: jaylib-all-platforms.zip

0 commit comments

Comments
 (0)