Skip to content

Commit c97ea16

Browse files
committed
GHA: update RHEL workflow
Use RHEL 8, drop RHEL 7 because it cannot run the nodejs 20 actions.
1 parent 595c213 commit c97ea16

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/rhel.yaml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
config:
16-
- { os: rhel7, r: 'release', key: '${{ secrets.REDHAT_ACTIVATION_KEY_RHEL7 }}' }
17-
- { os: rhel8, r: 'release', key: '${{ secrets.REDHAT_ACTIVATION_KEY_RHEL8 }}' }
16+
# cannot run the nodejs actions because RHEL7 cannot run node20
17+
# - { os: rhel7, r: release, key: REDHAT_ACTIVATION_KEY_RHEL7 }
18+
- { os: rhel8, r: release, key: REDHAT_ACTIVATION_KEY_RHEL8 }
19+
- { os: rhel9, r: release, key: REDHAT_ACTIVATION_KEY_RHEL9 }
1820
container:
1921
image: ghcr.io/r-hub/containers/${{ matrix.config.os }}:latest
2022

@@ -25,10 +27,11 @@ jobs:
2527
run: |
2628
subscription-manager register \
2729
--org ${{ secrets.REDHAT_ORG }} \
28-
--activationkey ${{ matrix.config.key }}
30+
--activationkey ${{ secrets[matrix.config.key] }}
2931
shell: bash
3032

3133
- name: Install R
34+
if: ${{ matrix.config.r != 'release' }}
3235
run: |
3336
rig add ${{ matrix.config.r }}
3437
shell: bash

0 commit comments

Comments
 (0)