|
5 | 5 | pull_request: |
6 | 6 | branches: [main] |
7 | 7 | workflow_dispatch: |
8 | | - branches: [main] |
9 | 8 |
|
10 | 9 | env: |
11 | 10 | LD_LIBRARY_PATH: /usr/local/opt/curl/lib:$LD_LIBRARY_PATH |
|
35 | 34 | image: quay.io/ovirt/buildcontainer:${{ matrix.container-name }} |
36 | 35 |
|
37 | 36 | steps: |
38 | | - - name: Install DNF core plugins |
39 | | - if: ${{ matrix.shortcut == 'cs9' }} |
40 | | - run: | |
41 | | - # DNF core plugins are installed in the official CS9 container image |
42 | | - dnf install -y dnf-plugins-core |
43 | | -
|
44 | 37 | - name: Prepare build environment |
45 | 38 | run: | |
46 | 39 | # Install oVirt repositories |
|
73 | 66 | -y |
74 | 67 |
|
75 | 68 | - name: Checkout sources |
76 | | - uses: actions/checkout@v2 |
| 69 | + uses: ovirt/checkout-action@main |
77 | 70 |
|
78 | 71 | - name: Run build for version |
79 | 72 | run: | |
|
84 | 77 | createrepo_c $ARTIFACTS_DIR |
85 | 78 |
|
86 | 79 | - name: Upload RPM artifacts |
87 | | - uses: actions/upload-artifact@v2 |
| 80 | + uses: ovirt/upload-rpms-action@v2 |
88 | 81 | with: |
89 | | - name: rpm-${{ matrix.shortcut }} |
90 | | - path: ${{ env.ARTIFACTS_DIR }} |
| 82 | + directory: ${{ env.ARTIFACTS_DIR }} |
91 | 83 |
|
92 | 84 | - name: Checkout target repository |
93 | 85 | if: ${{ matrix.shortcut == 'cs9' }} |
@@ -122,8 +114,8 @@ jobs: |
122 | 114 | - name: Install pip2.7 |
123 | 115 | # This step installs pip2.7, which will be needed later |
124 | 116 | run: | |
125 | | - curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py |
126 | | - python2 get-pip.py |
| 117 | + curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py |
| 118 | + python2 get-pip.py |
127 | 119 |
|
128 | 120 | - name: Install Python-SDK with Python 2.7 |
129 | 121 | # This step installs the python-sdk with python2.7, as the extension of pdoc, |
|
0 commit comments