From 9f657e8a8e47a65c9e8fed8c09e539409a43d00c Mon Sep 17 00:00:00 2001 From: Ludovic <54670129+lbr38@users.noreply.github.com> Date: Mon, 22 Jul 2024 14:32:11 +0200 Subject: [PATCH] patch --- .github/workflows/build-rpm.yml | 36 ++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-rpm.yml b/.github/workflows/build-rpm.yml index a626350..393f236 100644 --- a/.github/workflows/build-rpm.yml +++ b/.github/workflows/build-rpm.yml @@ -172,9 +172,6 @@ jobs: /opt/linupdate/linupdate --profile container /opt/linupdate/linupdate --env test - - - # Try to install packages on RockyLinux 8 install-rockylinux8: name: Install on RockyLinux 8 @@ -191,6 +188,9 @@ jobs: - name: Get linupdate version run: echo "VERSION=$(cat ${GITHUB_WORKSPACE}/version)" >> $GITHUB_ENV + - name: Install EPEL repository + run: dnf install epel-release -y + # Download builded deb package artifact - name: Download artifact uses: actions/download-artifact@v3 @@ -208,11 +208,41 @@ jobs: /opt/linupdate/linupdate --profile container /opt/linupdate/linupdate --env test + # Try to install packages on RockyLinux 9 + install-rockylinux9: + name: Install on RockyLinux 9 + needs: + build-rpm + runs-on: ubuntu-latest + container: + image: rockylinux/rockylinux:9 + options: --user root + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Get linupdate version + run: echo "VERSION=$(cat ${GITHUB_WORKSPACE}/version)" >> $GITHUB_ENV + - name: Install EPEL repository + run: dnf install epel-release -y + # Download builded deb package artifact + - name: Download artifact + uses: actions/download-artifact@v3 + with: + name: linupdate-test-build-${{ env.VERSION }}.noarch.rpm + - name: Install package + run: yum --nogpgcheck localinstall -y ./linupdate-test-build-${{ env.VERSION }}.noarch.rpm + - name: Test some params + run: | + /opt/linupdate/linupdate --help + /opt/linupdate/linupdate --version + /opt/linupdate/linupdate --check-updates + /opt/linupdate/linupdate --profile container + /opt/linupdate/linupdate --env test # Try to install packages on latest Fedora install-fedora: