diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0209250c20..e74ff4c1b0 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -57,17 +57,16 @@ jobs: - name: Install moztools (Windows) if: runner.os == 'Windows' run: | - curl -L -o moztools.zip https://ftp.mozilla.org/pub/mozilla/libraries/win32/moztools-static.zip - unzip moztools.zip - mv moztools/bin/* /usr/bin - rm -r moztools.zip moztools - # curl -L -o /usr/bin/nsinstall.py https://hg.mozilla.org/mozilla-central/raw-file/tip/config/nsinstall.py - # python3 -m pip install mozfile - # echo '#! /usr/bin/env python3' > /usr/bin/nsinstall - # cat /usr/bin/nsinstall.py >> /usr/bin/nsinstall - # chmod a+x /usr/bin/nsinstall - # which python3 - # cat /usr/bin/nsinstall + # curl -L -o moztools.zip https://ftp.mozilla.org/pub/mozilla/libraries/win32/moztools-static.zip + # unzip moztools.zip + # mv moztools/bin/nsinstall.exe /usr/bin + # rm -r moztools.zip moztools + curl -L -o /usr/bin/nsinstall.py https://hg.mozilla.org/mozilla-central/raw-file/tip/config/nsinstall.py + python3 -m pip install mozfile + echo "#! "$(which python3)"' > /usr/bin/nsinstall + cat /usr/bin/nsinstall.py >> /usr/bin/nsinstall + chmod a+x /usr/bin/nsinstall + cat /usr/bin/nsinstall # See https://github.com/ilammy/msvc-dev-cmd#name-conflicts-with-shell-bash rm /usr/bin/link.exe echo "BASH=$SHELL" >> "$GITHUB_ENV"