Skip to content

Commit

Permalink
aa
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Dec 7, 2023
1 parent f9c6fc4 commit 850d2e7
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 850d2e7

Please sign in to comment.