fix: validate Windows extension packs with 7-Zip

This commit is contained in:
cflmy committed 2026-11-18 14:40:07 +08:00
1 parent afbb9f191c
commit 24959a0ba8
2 files changed
+19 -7

No files matched your search

+14 -2
View File
@@ -2,7 +2,15 @@
name: Extension Release
on:
workflow_dispatch:
inputs:
version:
description: Extension version to validate
required: true
type: string
push:
branches:
- codex/ext-release-validation
tags:
- "ext-v*"
@@ -14,6 +22,7 @@ jobs:
runs-on: windows-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REF_NAME_OVERRIDE: ${{ startsWith(github.ref, 'refs/tags/') && github.ref_name || format('ext-v{0}', inputs.version || '2.8.1') }}
steps:
- uses: actions/checkout@v4
with:
@@ -35,8 +44,9 @@ jobs:
shell: bash
run: |
set -euo pipefail
./target/release/marqdo.exe call skills/marqdo-release/packs.mq.md ci --effects plugin,fs.read,fs.write,environment.read --fs-root . --require-ok --json
GITHUB_REF_NAME="$GITHUB_REF_NAME_OVERRIDE" ./target/release/marqdo.exe call skills/marqdo-release/packs.mq.md ci --effects plugin,fs.read,fs.write,environment.read --fs-root . --require-ok --json
- name: Attach source and Windows native packs without replacement
if: startsWith(github.ref, 'refs/tags/ext-v')
shell: bash
run: |
set -euo pipefail
@@ -47,6 +57,7 @@ jobs:
needs: windows
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REF_NAME_OVERRIDE: ${{ startsWith(github.ref, 'refs/tags/') && github.ref_name || format('ext-v{0}', inputs.version || '2.8.1') }}
steps:
- uses: actions/checkout@v4
with:
@@ -63,6 +74,7 @@ jobs:
cargo build --release -p marqdo -p marqdo_plugin_agent -p marqdo_plugin_quantum -p marqdo_plugin_linalg -p marqdo_plugin_llm -p marqdo_plugin_engineering
bash scripts/build-web-plugin.sh
- name: Build and validate the runner's exact pack bytes
run: target/release/marqdo call skills/marqdo-release/packs.mq.md ci --effects plugin,fs.read,fs.write,environment.read --fs-root . --require-ok --json
run: GITHUB_REF_NAME="$GITHUB_REF_NAME_OVERRIDE" target/release/marqdo call skills/marqdo-release/packs.mq.md ci --effects plugin,fs.read,fs.write,environment.read --fs-root . --require-ok --json
- name: Attach Linux native pack without replacement
if: startsWith(github.ref, 'refs/tags/ext-v')
run: target/release/marqdo call skills/marqdo-release/packs.mq.md attach_ci --effects plugin,fs.read,environment.read --fs-root . --require-ok --json