@@ -143,13 +143,13 @@ jobs:
143143 path : dist/*.zip
144144 retention-days : 30
145145
146- centos :
146+ rocky :
147147 runs-on : ubuntu-latest
148148 env :
149149 LC_ALL : en_US.utf8
150150 LANG : en_US.utf8
151151 container :
152- image : centos :8
152+ image : rockylinux :8
153153 strategy :
154154 matrix :
155155 include :
@@ -162,14 +162,14 @@ jobs:
162162 - name : Get version tag
163163 id : get_version
164164 uses : battila7/get-version-action@v2
165- - name : Centos -Install dependencies
165+ - name : Rocky -Install dependencies
166166 run : |
167- yum update
168- yum install -y pkgconfig gcc openssl-devel dbus-glib-devel dbus-python sqlite-devel libffi-devel wget make
167+ yum update -y
168+ yum install -y pkgconfig gcc openssl-devel dbus-glib-devel python3-dbus sqlite-devel libffi-devel wget make
169169 mkdir tmp && cd tmp
170- wget https://www.python.org/ftp/python/3.9.7 /Python-3.9.7 .tgz
171- tar xzf Python-3.9.7 .tgz
172- cd Python-3.9.7
170+ wget https://www.python.org/ftp/python/3.9.17 /Python-3.9.17 .tgz
171+ tar xzf Python-3.9.17 .tgz
172+ cd Python-3.9.17
173173 ./configure --enable-optimizations --enable-shared --enable-loadable-sqlite-extensions
174174 make altinstall
175175 cd ../..
@@ -195,14 +195,14 @@ jobs:
195195 - name : Get build
196196 run : |
197197 cd dist
198- tar czf "user-sync-${UST_VERSION}${UST_VARIANT_TAG}-centos .tar.gz" user-sync
198+ tar czf "user-sync-${UST_VERSION}${UST_VARIANT_TAG}-rocky .tar.gz" user-sync
199199 env :
200200 UST_VARIANT_TAG : ${{matrix.variant_tag}}
201201 UST_VERSION : ${{ steps.get_version.outputs.version }}
202202 - name : Make artifact
203203 uses : actions/upload-artifact@v2
204204 with :
205- name : centos
205+ name : rocky
206206 path : dist/*.tar.gz
207207 retention-days : 30
208208
@@ -230,7 +230,7 @@ jobs:
230230
231231 release :
232232 runs-on : ubuntu-latest
233- needs : [centos , ubuntu-jammy, ubuntu-focal, examples, windows]
233+ needs : [rocky , ubuntu-jammy, ubuntu-focal, examples, windows]
234234 steps :
235235 - uses : actions/checkout@v2
236236 - name : Create Release
@@ -255,6 +255,6 @@ jobs:
255255 uses : battila7/get-version-action@v2
256256 - uses : AButler/upload-release-assets@v2.0
257257 with :
258- files : ' examples/*;ubuntu-jammy/*;ubuntu-focal/*;centos /*'
258+ files : ' examples/*;ubuntu-jammy/*;ubuntu-focal/*;rocky /*'
259259 repo-token : ${{ secrets.GITHUB_TOKEN }}
260260 release-tag : ${{ steps.get_version.outputs.version }}
0 commit comments