Skip to content

Commit 9242857

Browse files
committed
fix: harden Fedora smoke tests and artifact actions
1 parent 5a0128f commit 9242857

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ jobs:
173173
174174
rpm -q ro-control
175175
command -v ro-control
176-
rpm -q --whatprovides /usr/bin/ro-control | grep -Fx 'ro-control'
176+
rpm -q --whatprovides /usr/bin/ro-control | grep -E '^ro-control(-|$)'
177177
ldd -r /usr/bin/ro-control
178178
179179
- name: Lint built RPMs

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
git archive --format=tar.gz --prefix="${ARCHIVE_PREFIX}/" --output="${ARCHIVE_PREFIX}.tar.gz" "${GITHUB_SHA}"
101101
102102
- name: Upload source archives
103-
uses: actions/upload-artifact@v4
103+
uses: actions/upload-artifact@v7
104104
with:
105105
name: ro-control-source-${{ needs.metadata.outputs.version }}
106106
path: |
@@ -127,7 +127,7 @@ jobs:
127127
uses: actions/checkout@v6
128128

129129
- name: Download source archives
130-
uses: actions/download-artifact@v4
130+
uses: actions/download-artifact@v5
131131
with:
132132
name: ro-control-source-${{ needs.metadata.outputs.version }}
133133
path: dist
@@ -260,7 +260,7 @@ jobs:
260260
261261
rpm -q ro-control
262262
command -v ro-control
263-
rpm -q --whatprovides /usr/bin/ro-control | grep -Fx 'ro-control'
263+
rpm -q --whatprovides /usr/bin/ro-control | grep -E '^ro-control(-|$)'
264264
ldd -r /usr/bin/ro-control
265265
ro-control --help > /dev/null
266266
@@ -275,7 +275,7 @@ jobs:
275275
)
276276
277277
- name: Upload RPM artifacts
278-
uses: actions/upload-artifact@v4
278+
uses: actions/upload-artifact@v7
279279
with:
280280
name: ro-control-rpm-${{ matrix.arch }}-${{ needs.metadata.outputs.version }}
281281
path: |
@@ -288,7 +288,7 @@ jobs:
288288

289289
steps:
290290
- name: Download all release artifacts
291-
uses: actions/download-artifact@v4
291+
uses: actions/download-artifact@v5
292292
with:
293293
pattern: ro-control-*
294294
path: dist

.github/workflows/rpm-artifacts.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
git archive --format=tar.gz --prefix="${ARCHIVE_PREFIX}/" --output="${ARCHIVE_PREFIX}.tar.gz" "${GITHUB_SHA}"
5858
5959
- name: Upload source archive
60-
uses: actions/upload-artifact@v4
60+
uses: actions/upload-artifact@v7
6161
with:
6262
name: ro-control-source-${{ needs.metadata.outputs.version }}
6363
path: |
@@ -84,7 +84,7 @@ jobs:
8484
uses: actions/checkout@v6
8585

8686
- name: Download source archive
87-
uses: actions/download-artifact@v4
87+
uses: actions/download-artifact@v5
8888
with:
8989
name: ro-control-source-${{ needs.metadata.outputs.version }}
9090
path: dist
@@ -161,7 +161,7 @@ jobs:
161161
fi
162162
163163
- name: Upload RPM artifacts
164-
uses: actions/upload-artifact@v4
164+
uses: actions/upload-artifact@v7
165165
with:
166166
name: ro-control-${{ matrix.arch }}-rpm
167167
path: |

0 commit comments

Comments
 (0)