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: