File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11name : ' Create pull requests to update mozilla-central version to the latest'
22
33on :
4- schedule :
5- - cron : " 00 14 */100,1-7 * 1" # run on the first Monday of each month at 14:00 UTC (10:00 Eastern Daylight Time)
4+ # schedule:
5+ # - cron: "00 14 */100,1-7 * 1" # run on the first Monday of each month at 14:00 UTC (10:00 Eastern Daylight Time)
66 # See https://blog.healthchecks.io/2022/09/schedule-cron-job-the-funky-way/
77 workflow_call :
88 workflow_dispatch : # or you can run it manually
2121 # See https://mozilla-version-control-tools.readthedocs.io/en/latest/hgmo/pushlog.html#hgweb-commands
2222 run : |
2323 COMMIT_HASH=$(
24- curl -s "https://hg.mozilla.org/mozilla-central/json-pushes?tipsonly=1&version=2" |\
24+ curl -L - s "https://hg.mozilla.org/mozilla-central/json-pushes?tipsonly=1&version=2" |\
2525 jq --join-output '(.lastpushid | tostring) as $pushid | empty, .pushes[$pushid].changesets[0]'
2626 )
2727 echo "MOZCENTRAL_VERSION=$COMMIT_HASH" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 1- dd8b1488a379ee395592f636d084cf81117f3b4c
1+ cdfe21b20eacfaa6712dd9821d6383859ce386c6
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ echo "Done installing dependencies"
4444echo " Downloading spidermonkey source code"
4545# Read the commit hash for mozilla-central from the `mozcentral.version` file
4646MOZCENTRAL_VERSION=$( cat mozcentral.version)
47- wget -c -q -O firefox-source-${MOZCENTRAL_VERSION} .zip https://hg.mozilla.org /mozilla-central /archive/${MOZCENTRAL_VERSION} .zip
48- unzip -q firefox-source-${MOZCENTRAL_VERSION} .zip && mv mozilla-central -${MOZCENTRAL_VERSION} firefox-source
47+ wget -c -q -O firefox-source-${MOZCENTRAL_VERSION} .zip https://github.com /mozilla/gecko-dev /archive/${MOZCENTRAL_VERSION} .zip
48+ unzip -q firefox-source-${MOZCENTRAL_VERSION} .zip && mv gecko-dev -${MOZCENTRAL_VERSION} firefox-source
4949echo " Done downloading spidermonkey source code"
5050
5151echo " Building spidermonkey"
You can’t perform that action at this time.
0 commit comments