Skip to content

Commit fb6ac09

Browse files
authored
Merge pull request #1237 from complexdatacollective/fix/python3-github-actions
upgrade to support python 3
2 parents 00ee005 + d047000 commit fb6ac09

File tree

4 files changed

+2485
-1243
lines changed

4 files changed

+2485
-1243
lines changed

.github/workflows/dist.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Dist
22
on:
33
push:
44
branches:
5-
- 'release/**'
5+
- "release/**"
66

77
# Allows you to run this workflow manually from the Actions tab
88
workflow_dispatch:
@@ -17,19 +17,19 @@ jobs:
1717
# Set python version to 2.x due to node-gyp and sass
1818
- uses: actions/setup-python@v4
1919
with:
20-
python-version: '2.7.18'
20+
python-version: "3.10.12"
2121
# Set node version
2222
- uses: actions/setup-node@v2
2323
with:
24-
node-version: '14.21.3'
24+
node-version: "14.21.3"
2525
- name: Set NPM 7
26-
run: npm install -g npm@8.3.2
26+
run: npm install -g npm@8.19.4
2727
# Cache node_modules
2828
- uses: actions/cache@v2
2929
env:
3030
cache-name: cache-node-modules
3131
with:
32-
path: '**/node_modules'
32+
path: "**/node_modules"
3333
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
3434

3535
- name: Install MDNS build dependencies

.github/workflows/main.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CI
22
on:
33
push:
4-
branches: [ master ]
4+
branches: [master]
55
pull_request:
66

77
# Allows you to run this workflow manually from the Actions tab
@@ -17,19 +17,19 @@ jobs:
1717
# Set python version to 2.x due to node-gyp and sass
1818
- uses: actions/setup-python@v4
1919
with:
20-
python-version: '2.7.18'
20+
python-version: "3.10.12"
2121
# Set node version
2222
- uses: actions/setup-node@v2
2323
with:
24-
node-version: '14.21.3'
24+
node-version: "14.21.3"
2525
- name: Set NPM 7
26-
run: npm install -g npm@8.3.2
26+
run: npm install -g npm@8.19.4
2727
# Cache node_modules
2828
- uses: actions/cache@v2
2929
env:
3030
cache-name: cache-node-modules
3131
with:
32-
path: '**/node_modules'
32+
path: "**/node_modules"
3333
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
3434

3535
- name: Install MDNS build dependencies
@@ -56,19 +56,19 @@ jobs:
5656
# Set python version to 2.x due to node-gyp and sass
5757
- uses: actions/setup-python@v4
5858
with:
59-
python-version: '2.7.18'
59+
python-version: "3.10.12"
6060
# Set node version
6161
- uses: actions/setup-node@v2
6262
with:
63-
node-version: '14.21.3'
63+
node-version: "14.21.3"
6464
- name: Set NPM 7
65-
run: npm install -g npm@8.3.2
65+
run: npm install -g npm@8.19.4
6666
# Cache node_modules
6767
- uses: actions/cache@v2
6868
env:
6969
cache-name: cache-node-modules
7070
with:
71-
path: '**/node_modules'
71+
path: "**/node_modules"
7272
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
7373

7474
- name: Install MDNS build dependencies
@@ -81,5 +81,3 @@ jobs:
8181

8282
- name: Build
8383
run: npm run build:electron
84-
85-

0 commit comments

Comments
 (0)