Skip to content

Commit 911d7a6

Browse files
authored
chore(ci): fix for asset bundles (#2898)
## Description This is it, as tested manually in #2897 https://github.com/n0-computer/iroh/actions/runs/11682746623/job/32530542557?pr=2897 ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [ ] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
1 parent 0a7a534 commit 911d7a6

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,21 @@ jobs:
282282

283283
- name: attach artifacts
284284
uses: actions/upload-artifact@v4
285+
if : matrix.os != 'windows-latest'
285286
with:
286-
name: iroh-${{env.RELEASE_OS }}-${{env.RELEASE_ARCH}}-bundle
287-
path: iroh-*{.tar.gz,.zip}
287+
name: iroh-${{ matrix.release-os }}-${{ matrix.release-arch }}-bundle
288+
path: iroh-*.tar.gz
288289
compression-level: 0
290+
retention-days: 1
291+
292+
- name: attach artifacts
293+
uses: actions/upload-artifact@v4
294+
if : matrix.os == 'windows-latest'
295+
with:
296+
name: iroh-${{ matrix.release-os }}-${{ matrix.release-arch }}-bundle
297+
path: iroh-*.zip
298+
compression-level: 0
299+
retention-days: 1
289300

290301
docker:
291302
needs: build_release

0 commit comments

Comments
 (0)