Update master.yml

maybe fix mac?
This commit is contained in:
SideQuest
2023-05-29 20:37:57 +02:00
committed by GitHub
parent 6943bb8e15
commit d4af4ee290
+6 -1
View File
@@ -15,6 +15,7 @@ jobs:
node-version: '16.14.2'
- name: "Install build deps on linux"
run: |
echo $RUNNER_OS;
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libudev-dev
@@ -32,4 +33,8 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}
WIN_CSC_LINK: ${{ secrets.WIN_CSC_LINK }}
run: PYTHON_PATH=$(which python) yarn dist
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
PYTHON_PATH=$(which python)
fi
yarn dist