File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed
Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1919 description : " Registry base URL override"
2020 required : false
2121 type : string
22+ secrets :
23+ MINISIGN_SECRET_KEY :
24+ required : true
2225
2326env :
2427 CARGO_TERM_COLOR : always
2528 RUST_BACKTRACE : 1
2629 SHERPA_ONNX_VERSION : " 1.12.17"
30+ MINISIGN_DEB_URL : " http://launchpadlibrarian.net/780165111/minisign_0.12-1_amd64.deb"
2731 MARKETPLACE_VERSION : ${{ inputs.version }}
2832 RELEASE_TAG : ${{ inputs.release_tag }}
2933 REGISTRY_BASE_URL : ${{ inputs.registry_base_url || format('https://{0}.github.io/streamkit/registry', github.repository_owner) }}
4044 - name : Install system dependencies
4145 run : |
4246 sudo apt-get update
43- sudo apt-get install -y cmake pkg-config libclang-dev wget libopenblas-dev zstd minisign patchelf python3-yaml
47+ sudo apt-get install -y cmake pkg-config libclang-dev wget libopenblas-dev zstd patchelf python3-yaml
48+
49+ - name : Install minisign
50+ run : |
51+ deb_path="/tmp/minisign.deb"
52+ wget -O "${deb_path}" "${MINISIGN_DEB_URL}"
53+ if ! sudo dpkg -i "${deb_path}"; then
54+ echo "dpkg failed, retrying with apt-get"
55+ sudo env NEEDRESTART_MODE=a apt-get install -y "${deb_path}" || true
56+ fi
57+ command -v minisign >/dev/null
58+ minisign -h >/dev/null 2>&1 || true
4459
4560 - name : Install sherpa-onnx
4661 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
31+ secrets : inherit
2832 with :
2933 version : ${{ inputs.version }}
3034 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
88+ secrets : inherit
8589 with :
8690 version : ${{ github.ref_name }}
8791 release_tag : ${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments