Skip to content

Commit 837e589

Browse files
committed
ci: upload node artifacts to gh release
1 parent affc1d4 commit 837e589

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,22 +344,30 @@ jobs:
344344
./target/${{ matrix.target }}/release/clarinet test --manifest-path ${testdir}/Clarinet.toml
345345
}
346346
347-
- name: Upload Artifacts to GH release (Not Windows)
347+
- name: Upload Cargo Artifact to GH release (Not Windows)
348348
uses: svenstaro/upload-release-action@v2
349349
if: startsWith(github.ref, 'refs/tags/v') && matrix.os != 'windows-latest'
350350
with:
351351
repo_token: ${{ secrets.GITHUB_TOKEN }}
352352
file: clarinet-${{ matrix.platform }}-${{ matrix.architecture }}.tar.gz
353353
tag: ${{ github.ref }}
354354

355-
- name: Upload Artifacts to GH release (Windows)
355+
- name: Upload Cargo Artifact to GH release (Windows)
356356
uses: svenstaro/upload-release-action@v2
357357
if: startsWith(github.ref, 'refs/tags/v') && matrix.os == 'windows-latest'
358358
with:
359359
repo_token: ${{ secrets.GITHUB_TOKEN }}
360360
file: clarinet-${{ matrix.platform }}-${{ matrix.architecture }}.msi
361361
tag: ${{ github.ref }}
362362

363+
- name: Upload Node Artifact to GH release
364+
uses: svenstaro/upload-release-action@v2
365+
if: startsWith(github.ref, 'refs/tags/v')
366+
with:
367+
repo_token: ${{ secrets.GITHUB_TOKEN }}
368+
file: stacks-devnet-js-${{ matrix.platform }}-${{ matrix.architecture }}.tar.gz
369+
tag: ${{ github.ref }}
370+
363371
# Cleans the `./target` dir after the build such that only dependencies are cached on CI
364372
- name: Prepare cache
365373
run: cargo xtask pre-cache

0 commit comments

Comments
 (0)