Skip to content

Commit 9a248fa

Browse files
committed
ci: drop centos stream 8 + update github actions
Don't build on CentOS Stream 8 anymore as it's EOL. And update github actions to latest versions. Signed-off-by: Jean-Louis Dupond <[email protected]>
1 parent 152d6f2 commit 9a248fa

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

Diff for: .github/workflows/build.yaml

+8-11
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
include:
21-
- name: centos-stream-8
22-
shortcut: cs8
23-
container-name: el8stream
2421
- name: centos-stream-9
25-
shortcut: cs9
22+
shortcut: c9s
2623
container-name: el9stream
2724

2825
name: ${{ matrix.name }}
@@ -37,7 +34,7 @@ jobs:
3734
- name: Prepare build environment
3835
run: |
3936
# Install oVirt repositories
40-
dnf copr enable -y ovirt/ovirt-master-snapshot centos-stream-8
37+
dnf copr enable -y ovirt/ovirt-master-snapshot centos-stream-9
4138
dnf install -y ovirt-release-master
4239
4340
- name: Install required packages
@@ -82,8 +79,8 @@ jobs:
8279
directory: ${{ env.ARTIFACTS_DIR }}
8380

8481
- name: Checkout target repository
85-
if: ${{ matrix.shortcut == 'cs9' }}
86-
uses: actions/checkout@v2
82+
if: ${{ matrix.shortcut == 'c9s' }}
83+
uses: actions/checkout@v4
8784
with:
8885
path: ovirt-engine-sdk
8986
ref: 'gh-pages'
@@ -110,7 +107,7 @@ jobs:
110107
libgnutls28-dev
111108
112109
- name: Checkout sources
113-
uses: actions/checkout@v2
110+
uses: actions/checkout@v4
114111

115112
- name: Install pip2.7
116113
# This step installs pip2.7, which will be needed later
@@ -142,7 +139,7 @@ jobs:
142139
run: pdoc ovirtsdk4 --html --html-dir=html
143140

144141
- name: Upload generated documentation artifacts
145-
uses: actions/upload-artifact@v2
142+
uses: actions/upload-artifact@v4
146143
with:
147144
name: generated-documentation
148145
path: ${{ env.GEN_DOC_DIR }}/*
@@ -157,7 +154,7 @@ jobs:
157154
image: quay.io/centos/centos:stream9
158155
steps:
159156
- name: Download generated documentation artifacts
160-
uses: actions/download-artifact@v2
157+
uses: actions/download-artifact@v4
161158
with:
162159
name: generated-documentation
163160
path: ${{ env.GEN_DOC_DIR }}
@@ -176,7 +173,7 @@ jobs:
176173
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
177174
178175
- name: Checkout target repository
179-
uses: actions/checkout@v2
176+
uses: actions/checkout@v4
180177
with:
181178
path: ovirt-engine-sdk
182179
ref: 'gh-pages'

0 commit comments

Comments
 (0)