File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 6060 env :
6161 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6262
63+ - name : Release CLI binaries
64+ if : ${{ steps.changeset.outputs.published == 'true' && contains(steps.changeset.outputs.publishedPackages.*.name, '@cartesi/cli') }}
65+ run : |
66+ for f in cartesi-*; do tar -czf "$f.tar.gz" "$f"; done
67+ VERSION=$(jq -r '.[] | select(.name=="@cartesi/cli") | .version' <<< '${{ steps.changeset.outputs.publishedPackages }}')
68+ TAG="@cartesi/cli@${VERSION}"
69+ gh release upload "$TAG" cartesi-*.tar.gz
70+ working-directory : ./apps/cli/bin
71+
6372 - name : Build SDK
6473 if : ${{ steps.changeset.outputs.published == 'true' && contains(steps.changeset.outputs.publishedPackages.*.name, '@cartesi/sdk') }}
6574 uses : ./.github/workflows/sdk.yaml
You can’t perform that action at this time.
0 commit comments