action.yml 711 B

1234567891011121314151617181920
  1. name: 'Install Build Tools'
  2. description: 'Installs an exact SHA of build tools'
  3. runs:
  4. using: "composite"
  5. steps:
  6. - name: Install Build Tools
  7. shell: bash
  8. run: |
  9. if [ "$(expr substr $(uname -s) 1 10)" == "MSYS_NT-10" ]; then
  10. git config --global core.filemode false
  11. git config --global core.autocrlf false
  12. git config --global branch.autosetuprebase always
  13. fi
  14. export BUILD_TOOLS_SHA=bf2a839205d569be99e0b23ede5d8a0d5041a777
  15. npm i -g @electron/build-tools
  16. e auto-update disable
  17. if [ "$(expr substr $(uname -s) 1 10)" == "MSYS_NT-10" ]; then
  18. e d cipd.bat --version
  19. cp "C:\Python37\python.exe" "C:\Python37\python3.exe"
  20. fi