From 79241e8fda4f82bedd5085809ca92c0b94691e01 Mon Sep 17 00:00:00 2001 From: Scott Andrews Date: Sun, 20 Sep 2026 15:45:35 -0400 Subject: [PATCH] Pick correct package version within interface.wasm Signed-off-by: Scott Andrews --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1f9c38b..1d345f4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -119,7 +119,7 @@ jobs: run: tar -xvf components.tar -C lib - name: Get interface version id: interface_version - run: echo "VERSION=$( wasm-tools component wit lib/interface.wasm --json | jq -r '.packages[0].name' | cut -d'@' -f2 )" >> $GITHUB_OUTPUT + run: echo "VERSION=$( wasm-tools component wit lib/interface.wasm --json | jq -r '[.packages[] | select(.name | contains("${GITHUB_REPOSITORY/\//:}@"))][0].name' | cut -d'@' -f2 )" >> $GITHUB_OUTPUT - name: Get tag version if: startsWith(github.ref, 'refs/tags/') id: tag_version