Skip to content

Commit 412080d

Browse files
authored
Update the build action in 0.2.X (#187)
Use Python 3.7 for the build environment. Python 3.6 is already removed from the latest machine for Github Action.
1 parent 3db2c7a commit 412080d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ jobs:
4646
OVERRIDE_VERSION: ${{ github.event.inputs.override_version }}
4747

4848
steps:
49-
- uses: actions/checkout@v2
49+
- uses: actions/checkout@v3
5050

51-
- uses: actions/setup-python@v2
51+
- uses: actions/setup-python@v4
5252
name: Install Python
5353
with:
5454
# For the sdist we should be as conservative as possible with our
5555
# Python version. This should be the lowest supported version. This
5656
# means that no unsupported syntax can sneak through.
57-
python-version: '3.6'
57+
python-version: '3.7'
5858

5959
- name: Install pip build
6060
run: |
@@ -68,7 +68,7 @@ jobs:
6868
# dependencies are specified by our setup code.
6969
python -m build --sdist .
7070
71-
- uses: actions/upload-artifact@v2
71+
- uses: actions/upload-artifact@v3
7272
with:
7373
name: sdist
7474
path: dist/*.tar.gz
@@ -83,9 +83,9 @@ jobs:
8383
OVERRIDE_VERSION: ${{ github.event.inputs.override_version }}
8484

8585
steps:
86-
- uses: actions/checkout@v2
86+
- uses: actions/checkout@v3
8787

88-
- uses: actions/setup-python@v2
88+
- uses: actions/setup-python@v4
8989
name: Install Python
9090
with:
9191
# This is about the build environment, not the released wheel version.
@@ -105,7 +105,7 @@ jobs:
105105
# dependencies are specified by our setup code.
106106
python -m build --wheel --outdir wheelhouse .
107107
108-
- uses: actions/upload-artifact@v2
108+
- uses: actions/upload-artifact@v3
109109
with:
110110
name: wheels
111111
path: ./wheelhouse/*.whl
@@ -124,9 +124,9 @@ jobs:
124124

125125
steps:
126126
- name: Download build artifacts to local runner
127-
uses: actions/download-artifact@v2
127+
uses: actions/download-artifact@v3
128128

129-
- uses: actions/setup-python@v2
129+
- uses: actions/setup-python@v4
130130
name: Install Python
131131
with:
132132
python-version: '3.7'

0 commit comments

Comments
 (0)