File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed
Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 2424 CARGO_TERM_COLOR : always
2525 RUST_BACKTRACE : 1
2626 SHERPA_ONNX_VERSION : " 1.12.17"
27+ MINISIGN_VERSION : " 0.12"
2728 MARKETPLACE_VERSION : ${{ inputs.version }}
2829 RELEASE_TAG : ${{ inputs.release_tag }}
2930 REGISTRY_BASE_URL : ${{ inputs.registry_base_url || format('https://{0}.github.io/streamkit/registry', github.repository_owner) }}
4041 - name : Install system dependencies
4142 run : |
4243 sudo apt-get update
43- sudo apt-get install -y cmake pkg-config libclang-dev wget libopenblas-dev zstd minisign patchelf python3-yaml
44+ sudo apt-get install -y cmake pkg-config libclang-dev wget libopenblas-dev zstd patchelf python3-yaml
45+
46+ - name : Install minisign
47+ run : |
48+ wget -O /tmp/minisign-${MINISIGN_VERSION}-linux.tar.gz \
49+ https://github.com/jedisct1/minisign/releases/download/${MINISIGN_VERSION}/minisign-${MINISIGN_VERSION}-linux.tar.gz
50+ extract_dir="/tmp/minisign-${MINISIGN_VERSION}"
51+ mkdir -p "${extract_dir}"
52+ tar -xzf /tmp/minisign-${MINISIGN_VERSION}-linux.tar.gz \
53+ --warning=no-unknown-keyword \
54+ -C "${extract_dir}"
55+ minisign_path="$(find "${extract_dir}" -type f -name minisign -print -quit)"
56+ if [ -z "${minisign_path}" ]; then
57+ echo "minisign binary not found in ${extract_dir}"
58+ exit 1
59+ fi
60+ sudo install -m 0755 "${minisign_path}" /usr/local/bin/minisign
61+ minisign -h >/dev/null
4462
4563 - name : Install sherpa-onnx
4664 run : |
Original file line number Diff line number Diff line change 2525jobs :
2626 marketplace :
2727 uses : ./.github/workflows/marketplace-build.yml
28+ permissions :
29+ contents : write
30+ pull-requests : write
2831 with :
2932 version : ${{ inputs.version }}
3033 release_tag : ${{ inputs.release_tag || format('marketplace-v{0}', inputs.version) }}
Original file line number Diff line number Diff line change 8282
8383 marketplace :
8484 uses : ./.github/workflows/marketplace-build.yml
85+ permissions :
86+ contents : write
87+ pull-requests : write
8588 with :
8689 version : ${{ github.ref_name }}
8790 release_tag : ${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments