We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a2619d commit 284ffacCopy full SHA for 284ffac
.github/workflows/build.yml
@@ -355,6 +355,19 @@ jobs:
355
exit 1
356
fi
357
358
+ - name: Ensure mozjs version is bumped if mozjs-sys version bumped
359
+ if: ${{ github.event_name == 'pull_request' && steps.changes.outputs.needs_mozjs_sys_bump == 'true' }}
360
+ run: |
361
+ CHANGED=$(git diff origin/main -- mozjs/Cargo.toml | grep '^+\s*version\s*=' || true)
362
+ if [ -n "$CHANGED" ]; then
363
+ echo "✅ mozjs version bumped: $CHANGED"
364
+ exit 0
365
+ else
366
+ echo "❌ No mozjs version bump found."
367
+ echo "Please bump mozjs version to trigger publishing a new crates.io release on landing."
368
+ exit 1
369
+ fi
370
+
371
build_result:
372
name: Result
373
runs-on: ubuntu-latest
0 commit comments