Skip to content

Commit

Permalink
Fix Python 2 install
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali Mohamad committed Nov 11, 2024
1 parent d2abbce commit 6ad5830
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
# Dependency node-sass will not install without Python 2; need to install.
- name: Install Python 2
run: |
brew install python@2
echo 'export PATH="/usr/local/opt/python@2/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
curl -O https://www.python.org/ftp/python/2.7.18/python-2.7.18-macosx10.9.pkg
sudo installer -pkg python-2.7.18-macosx10.9.pkg -target /
echo 'export PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH"' >> $GITHUB_ENV
- run: npm install
- run: npx webpack --config ./webpack.config.npm.js
#- run: npm publish
Expand Down

0 comments on commit 6ad5830

Please sign in to comment.