@@ -22,6 +22,7 @@ defaults:
2222env :
2323 FREEZE_REQUIREMENTS : 1
2424 TORCH_URL : " https://download.pytorch.org/whl/cpu/torch_stable.html"
25+ PYTHON_VER : " 3.8"
2526
2627jobs :
2728
3233
3334
3435 upload-packages :
35- runs-on : ubuntu-20 .04
36+ runs-on : ubuntu-22 .04
3637 needs : build-packages
3738 if : github.event_name == 'release'
3839 steps :
@@ -50,11 +51,14 @@ jobs:
5051
5152
5253 release-version :
53- runs-on : ubuntu-20 .04
54+ runs-on : ubuntu-22 .04
5455 outputs :
5556 tag : ${{ steps.lai-package.outputs.version }}
5657 steps :
5758 - uses : actions/checkout@v3
59+ - uses : actions/setup-python@v4
60+ with :
61+ python-version : ${{ env.PYTHON_VER }}
5862 - name : install Package
5963 run : |
6064 pip install . -f ${TORCH_URL}
@@ -65,15 +69,15 @@ jobs:
6569
6670
6771 signaling :
68- runs-on : ubuntu-20 .04
72+ runs-on : ubuntu-22 .04
6973 needs : [release-version]
7074 if : startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
7175 env :
7276 TAG : ${{ needs.release-version.outputs.tag }}
7377 steps :
7478 - uses : actions/setup-python@v4
7579 with :
76- python-version : 3.8
80+ python-version : ${{ env.PYTHON_VER }}
7781 - uses : actions/checkout@v3
7882 with :
7983 repository : gridai/base-images
@@ -102,7 +106,7 @@ jobs:
102106
103107
104108 waiting :
105- runs-on : ubuntu-20 .04
109+ runs-on : ubuntu-22 .04
106110 needs : [release-version, signaling]
107111 env :
108112 TAG : ${{ needs.release-version.outputs.tag }}
@@ -111,7 +115,7 @@ jobs:
111115 - uses : actions/checkout@v3
112116 - uses : actions/setup-python@v4
113117 with :
114- python-version : 3.8
118+ python-version : ${{ env.PYTHON_VER }}
115119 - run : pip install gitpython
116120 - name : Delay releasing
117121 run : |
@@ -130,7 +134,7 @@ jobs:
130134
131135
132136 pre-publish-packages :
133- runs-on : ubuntu-20 .04
137+ runs-on : ubuntu-22 .04
134138 needs : build-packages
135139 if : startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
136140 strategy :
@@ -155,7 +159,7 @@ jobs:
155159
156160
157161 publish-packages :
158- runs-on : ubuntu-20 .04
162+ runs-on : ubuntu-22 .04
159163 needs : [build-packages, waiting]
160164 if : startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
161165 strategy :
0 commit comments