@@ -143,13 +143,13 @@ jobs:
143
143
path : dist/*.zip
144
144
retention-days : 30
145
145
146
- centos :
146
+ rocky :
147
147
runs-on : ubuntu-latest
148
148
env :
149
149
LC_ALL : en_US.utf8
150
150
LANG : en_US.utf8
151
151
container :
152
- image : centos :8
152
+ image : rockylinux :8
153
153
strategy :
154
154
matrix :
155
155
include :
@@ -162,14 +162,14 @@ jobs:
162
162
- name : Get version tag
163
163
id : get_version
164
164
uses : battila7/get-version-action@v2
165
- - name : Centos -Install dependencies
165
+ - name : Rocky -Install dependencies
166
166
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
169
169
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
173
173
./configure --enable-optimizations --enable-shared --enable-loadable-sqlite-extensions
174
174
make altinstall
175
175
cd ../..
@@ -195,14 +195,14 @@ jobs:
195
195
- name : Get build
196
196
run : |
197
197
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
199
199
env :
200
200
UST_VARIANT_TAG : ${{matrix.variant_tag}}
201
201
UST_VERSION : ${{ steps.get_version.outputs.version }}
202
202
- name : Make artifact
203
203
uses : actions/upload-artifact@v2
204
204
with :
205
- name : centos
205
+ name : rocky
206
206
path : dist/*.tar.gz
207
207
retention-days : 30
208
208
@@ -230,7 +230,7 @@ jobs:
230
230
231
231
release :
232
232
runs-on : ubuntu-latest
233
- needs : [centos , ubuntu-jammy, ubuntu-focal, examples, windows]
233
+ needs : [rocky , ubuntu-jammy, ubuntu-focal, examples, windows]
234
234
steps :
235
235
- uses : actions/checkout@v2
236
236
- name : Create Release
@@ -255,6 +255,6 @@ jobs:
255
255
uses : battila7/get-version-action@v2
256
256
257
257
with :
258
- files : ' examples/*;ubuntu-jammy/*;ubuntu-focal/*;centos /*'
258
+ files : ' examples/*;ubuntu-jammy/*;ubuntu-focal/*;rocky /*'
259
259
repo-token : ${{ secrets.GITHUB_TOKEN }}
260
260
release-tag : ${{ steps.get_version.outputs.version }}
0 commit comments