diff --git a/.github/workflows/electron-build.yml b/.github/workflows/electron-build.yml index de8364906f..fb601b838a 100644 --- a/.github/workflows/electron-build.yml +++ b/.github/workflows/electron-build.yml @@ -50,9 +50,10 @@ jobs: mkdir -p ~/private_keys/ echo '${{ secrets.api_key }}' > ~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8 - - name: Display the path + - name: Run pack windows + if: startsWith(matrix.os, 'desktop-build') shell: bash - run: echo $PATH + run: ${GITHUB_ACTION_PATH//\\//}/test.sh # - name: Run pack:win # if: startsWith(matrix.os, 'desktop-build') diff --git a/test.sh b/test.sh new file mode 100755 index 0000000000..a0aebc699a --- /dev/null +++ b/test.sh @@ -0,0 +1,5 @@ +#!/bin/bash +nvm use v18.16.1 +npm install --global yarn +yarn -i +yarn pack:win \ No newline at end of file