Skip to content

Commit b8bd992

Browse files
committed
fix(ci): minisign install
1 parent 985da40 commit b8bd992

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.github/workflows/marketplace-build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ env:
2424
CARGO_TERM_COLOR: always
2525
RUST_BACKTRACE: 1
2626
SHERPA_ONNX_VERSION: "1.12.17"
27+
MINISIGN_DEB_URL: "http://launchpadlibrarian.net/780165111/minisign_0.12-1_amd64.deb"
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) }}
@@ -40,7 +41,14 @@ jobs:
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+
deb_path="/tmp/minisign.deb"
49+
wget -O "${deb_path}" "${MINISIGN_DEB_URL}"
50+
sudo apt-get install -y "${deb_path}"
51+
minisign -h >/dev/null
4452
4553
- name: Install sherpa-onnx
4654
run: |

.github/workflows/marketplace-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ env:
2525
jobs:
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) }}

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ jobs:
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 }}

0 commit comments

Comments
 (0)