Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Jul 22, 2024
1 parent 0cfffff commit 9f657e8
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions .github/workflows/build-rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 9f657e8

Please sign in to comment.