We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 423aadb commit dbc34aeCopy full SHA for dbc34ae
.github/workflows/rpm-install.yml
@@ -0,0 +1,25 @@
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: extract artifact name
16
+ run: |
17
+ OS=${{ inputs.os }}
18
+ echo "artifactName=$(echo ${OS/:/}-rpm)" >> $GITHUB_ENV
19
+ - name: download RPM artifact
20
+ uses: actions/download-artifact@v4
21
+ with:
22
+ name: ${{ env.artifactName }}
23
+ - name: install RPM artifact
24
25
+ dnf install -y *.rpm
0 commit comments