feat: using choco to install zstd often takes ~1 minute; use DotSlash

This commit is contained in:
Michael Bolin
2026-02-11 20:48:26 -08:00
parent b8e0d7594f
commit b1b73b469e
3 changed files with 89 additions and 58 deletions
+3 -5
View File
@@ -195,10 +195,8 @@ jobs:
cp target/${{ matrix.target }}/release/codex-windows-sandbox-setup.exe "$dest/codex-windows-sandbox-setup-${{ matrix.target }}.exe"
cp target/${{ matrix.target }}/release/codex-command-runner.exe "$dest/codex-command-runner-${{ matrix.target }}.exe"
- if: ${{ matrix.runner == 'windows-arm64' }}
name: Install zstd
shell: powershell
run: choco install -y zstandard
- name: Install DotSlash
uses: facebook/install-dotslash@v2
- name: Compress artifacts
shell: bash
@@ -259,7 +257,7 @@ jobs:
fi
# Keep raw executables and produce .zst alongside them.
zstd -T0 -19 "$dest/$base"
"${GITHUB_WORKSPACE}/.github/workflows/zstd" -T0 -19 "$dest/$base"
done
- uses: actions/upload-artifact@v6