fix
This commit is contained in:
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
@@ -48,28 +48,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js for version sync
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
|
||||
- name: Install jq
|
||||
run: |
|
||||
if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
|
||||
sudo apt-get update && sudo apt-get install -y jq
|
||||
elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
|
||||
brew install jq
|
||||
fi
|
||||
|
||||
- name: Sync package.json versions
|
||||
continue-on-error: true
|
||||
run: |
|
||||
echo "🔄 Trying Node.js version sync first..."
|
||||
node scripts/sync-versions.js || {
|
||||
echo "🔄 Node.js version failed, trying shell script..."
|
||||
chmod +x scripts/sync-versions.sh
|
||||
./scripts/sync-versions.sh || echo "⚠️ Both version sync methods failed, but continuing with build..."
|
||||
}
|
||||
|
||||
- name: Setup Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
Reference in New Issue
Block a user