File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : rpm-install
2+
3+ on :
4+ workflow_call :
5+ inputs :
6+ os :
7+ required : true
8+ type : string
9+
10+ jobs :
11+ rpm-install :
12+ runs-on : ubuntu-latest
13+ container : ${{ inputs.os }}
14+ steps :
15+ - name : Install dependencies
16+ run : |
17+ dnf config-manager --set-enabled ol9_codeready_builder
18+ dnf install -y dnf-plugins-core epel-release
19+ dnf copr enable @CESNET/nfb-framework
20+ dnf copr enable @CESNET/NEMEA-stable
21+ - name : extract artifact name
22+ run : |
23+ OS=${{ inputs.os }}
24+ echo "artifactName=$(echo ${OS/:/}-rpm)" >> $GITHUB_ENV
25+ - name : download RPM artifact
26+ uses : actions/download-artifact@v4
27+ with :
28+ name : ${{ env.artifactName }}
29+ - name : install RPM artifact
30+ run : |
31+ dnf install -y *.rpm --allowerasing
You can’t perform that action at this time.
0 commit comments