CI: Disable ZIP file artifacts, update versions

The GH artifacts action now lets you disable auto-zipping your
artifacts.  Previously, GH would always automatically put your
artifacts in a ZIP file.  This is annoying when your artifacts
are already in a tarball.

Also update the following action versions

checkout:		v4 -> v6
upload-artifact:	v4 -> v7
download-artifact:	v4 -> v8

Lastly, fix a issue where zfs-qmeu-packages now needs to power
cycle the VM.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #18411
This commit is contained in:
Tony Hutter
2026-04-14 13:20:46 -07:00
parent f4e5eb7e51
commit eec8b9b929
8 changed files with 54 additions and 30 deletions
+12 -11
View File
@@ -61,7 +61,7 @@ jobs:
os: ['almalinux8', 'almalinux9', 'almalinux10', 'fedora42', 'fedora43']
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
@@ -73,7 +73,7 @@ jobs:
- name: Install dependencies
run: |
.github/workflows/scripts/qemu-3-deps.sh ${{ matrix.os }}
.github/workflows/scripts/qemu-3-deps.sh --poweroff ${{ matrix.os }}
- name: Build modules or Test repo
run: |
@@ -104,17 +104,18 @@ jobs:
run: |
rsync -a zfs@vm0:/tmp/repo /tmp || true
.github/workflows/scripts/replace-dupes-with-symlinks.sh /tmp/repo
tar -cf ${{ matrix.os }}-repo.tar -C /tmp repo
tar -cjf ${{ matrix.os }}-repo.tar.bz2 -C /tmp repo
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
id: artifact-upload
if: always()
with:
name: ${{ matrix.os }}-repo
path: ${{ matrix.os }}-repo.tar
path: ${{ matrix.os }}-repo.tar.bz2
compression-level: 0
retention-days: 2
if-no-files-found: ignore
archive: false
combine_repos:
if: always()
@@ -122,16 +123,16 @@ jobs:
name: "Results"
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
id: artifact-download
if: always()
- name: Test Summary
if: always()
run: |
for i in $(find . -type f -iname "*.tar") ; do
for i in $(find . -type f -iname "*.tar.bz2") ; do
tar -xf $i -C /tmp
done
tar -cf all-repo.tar -C /tmp repo
tar -cjf all-repo.tar.bz2 -C /tmp repo
# If we're installing from a repo, print out the summary of the versions
# that got installed using Markdown.
@@ -146,12 +147,12 @@ jobs:
done
fi
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
id: artifact-upload2
if: always()
with:
name: all-repo
path: all-repo.tar
compression-level: 0
path: all-repo.tar.bz2
retention-days: 5
if-no-files-found: ignore
archive: false