File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 73
73
- uses : actions/setup-node@v3
74
74
with :
75
75
node-version : 16
76
+ - if : ${{ startsWith(matrix.os, 'windows') }}
77
+ run : pip.exe install setuptools
78
+ - if : ${{ ! startsWith(matrix.os, 'windows') }}
79
+ run : python3 -m pip install setuptools
76
80
- run : npm install --ignore-scripts
77
81
- run : ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
78
82
- run : ${{ env.ELECTRON_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
92
96
needs : publish
93
97
steps :
94
98
- uses : actions/checkout@v3
95
- - run : apk add build-base git python3 --update-cache
99
+ - run : apk add build-base git python3 py3-setuptools --update-cache
96
100
- run : npm install --ignore-scripts
97
101
- run : ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
98
102
@@ -110,7 +114,7 @@ jobs:
110
114
- uses : docker/setup-qemu-action@v1
111
115
- run : |
112
116
docker run --rm -v $(pwd):/tmp/project --entrypoint /bin/sh --platform linux/${{ matrix.arch }} node:16-alpine -c "\
113
- apk add build-base git python3 --update-cache && \
117
+ apk add build-base git python3 py3-setuptools --update-cache && \
114
118
cd /tmp/project && \
115
119
npm install --ignore-scripts && \
116
120
${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}"
You can’t perform that action at this time.
0 commit comments