|
18 | 18 | runs-on: ubuntu-latest |
19 | 19 | steps: |
20 | 20 | - uses: actions/checkout@v4 |
| 21 | + - name: Add SSH private keys for submodule repositories |
| 22 | + uses: webfactory/[email protected] |
| 23 | + with: |
| 24 | + ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} |
| 25 | + - name: Clone submodules |
| 26 | + if: github.repository == 'element-hq/element-x-android' |
| 27 | + run: git submodule update --init --recursive |
21 | 28 | - name: Run code quality check suite |
22 | 29 | run: ./tools/check/check_code_quality.sh |
23 | 30 |
|
|
68 | 75 | # Ensure we are building the branch and not the branch after being merged on develop |
69 | 76 | # https://github.com/actions/checkout/issues/881 |
70 | 77 | ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} |
| 78 | + - name: Add SSH private keys for submodule repositories |
| 79 | + uses: webfactory/[email protected] |
| 80 | + with: |
| 81 | + ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} |
| 82 | + - name: Clone submodules |
| 83 | + if: github.repository == 'element-hq/element-x-android' |
| 84 | + run: git submodule update --init --recursive |
71 | 85 | - name: Use JDK 17 |
72 | 86 | uses: actions/setup-java@v4 |
73 | 87 | with: |
@@ -100,6 +114,13 @@ jobs: |
100 | 114 | # Ensure we are building the branch and not the branch after being merged on develop |
101 | 115 | # https://github.com/actions/checkout/issues/881 |
102 | 116 | ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} |
| 117 | + - name: Add SSH private keys for submodule repositories |
| 118 | + uses: webfactory/[email protected] |
| 119 | + with: |
| 120 | + ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} |
| 121 | + - name: Clone submodules |
| 122 | + if: github.repository == 'element-hq/element-x-android' |
| 123 | + run: git submodule update --init --recursive |
103 | 124 | - name: Use JDK 17 |
104 | 125 | uses: actions/setup-java@v4 |
105 | 126 | with: |
@@ -136,6 +157,13 @@ jobs: |
136 | 157 | # Ensure we are building the branch and not the branch after being merged on develop |
137 | 158 | # https://github.com/actions/checkout/issues/881 |
138 | 159 | ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} |
| 160 | + - name: Add SSH private keys for submodule repositories |
| 161 | + uses: webfactory/[email protected] |
| 162 | + with: |
| 163 | + ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} |
| 164 | + - name: Clone submodules |
| 165 | + if: github.repository == 'element-hq/element-x-android' |
| 166 | + run: git submodule update --init --recursive |
139 | 167 | - name: Use JDK 17 |
140 | 168 | uses: actions/setup-java@v4 |
141 | 169 | with: |
@@ -168,6 +196,13 @@ jobs: |
168 | 196 | # Ensure we are building the branch and not the branch after being merged on develop |
169 | 197 | # https://github.com/actions/checkout/issues/881 |
170 | 198 | ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} |
| 199 | + - name: Add SSH private keys for submodule repositories |
| 200 | + uses: webfactory/[email protected] |
| 201 | + with: |
| 202 | + ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} |
| 203 | + - name: Clone submodules |
| 204 | + if: github.repository == 'element-hq/element-x-android' |
| 205 | + run: git submodule update --init --recursive |
171 | 206 | - name: Use JDK 17 |
172 | 207 | uses: actions/setup-java@v4 |
173 | 208 | with: |
@@ -200,6 +235,13 @@ jobs: |
200 | 235 | # Ensure we are building the branch and not the branch after being merged on develop |
201 | 236 | # https://github.com/actions/checkout/issues/881 |
202 | 237 | ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} |
| 238 | + - name: Add SSH private keys for submodule repositories |
| 239 | + uses: webfactory/[email protected] |
| 240 | + with: |
| 241 | + ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} |
| 242 | + - name: Clone submodules |
| 243 | + if: github.repository == 'element-hq/element-x-android' |
| 244 | + run: git submodule update --init --recursive |
203 | 245 | - name: Use JDK 17 |
204 | 246 | uses: actions/setup-java@v4 |
205 | 247 | with: |
|
0 commit comments