mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 14:40:23 +03:00
CI: Export homebrew bin dirs to PATH for rename script
Without this, the rename_binary_script step has no `node` on the PATH, and errors out (thus erroring out the entire run before uploading any binaries)! Whoops.
This commit is contained in:
parent
cfb9436484
commit
7014976f02
@ -139,6 +139,7 @@ silicon_mac_task:
|
||||
- export PATH="/opt/homebrew/bin:/opt/homebrew/opt/node@16/bin:$PATH"
|
||||
- yarn dist || yarn dist
|
||||
rename_binary_script:
|
||||
- export PATH="/usr/local/opt/node@16/bin:/usr/local/bin:$PATH"
|
||||
- node script/rename.js "Silicon.Mac"
|
||||
binary_artifacts:
|
||||
path: ./binaries/*
|
||||
@ -189,6 +190,7 @@ intel_mac_task:
|
||||
- export PATH="/usr/local/opt/node@16/bin:/usr/local/bin:$PATH"
|
||||
- arch -x86_64 npx yarn dist || arch -x86_64 npx yarn dist
|
||||
rename_binary_script:
|
||||
- export PATH="/usr/local/opt/node@16/bin:/usr/local/bin:$PATH"
|
||||
- node script/rename.js "Intel.Mac"
|
||||
binary_artifacts:
|
||||
path: ./binaries/*
|
||||
|
Loading…
Reference in New Issue
Block a user