|
44 | 44 | if: ${{ inputs.job_to_run == 'L10N-MacOS' || inputs.mac_installer_link }} |
45 | 45 | runs-on: macos-latest |
46 | 46 | steps: |
47 | | - - name: Create app token |
48 | | - uses: actions/create-github-app-token@v1 |
49 | | - id: app-token |
50 | | - with: |
51 | | - app-id: ${{ secrets.BOT_CLIENT_ID }} |
52 | | - private-key: ${{ secrets.BOT_PRIVATE_KEY }} |
53 | 47 | - name: Checkout repository |
54 | 48 | uses: actions/checkout@v4 |
55 | | - with: |
56 | | - token: ${{ steps.app-token.outputs.token }} |
57 | 49 | - name: Set up Python 3.11 |
58 | 50 | uses: actions/setup-python@v5 |
59 | 51 | with: |
@@ -129,16 +121,8 @@ jobs: |
129 | 121 | if: ${{ inputs.job_to_run == 'L10N-Linux' || inputs.linux_tarball_link }} |
130 | 122 | runs-on: ubuntu-latest |
131 | 123 | steps: |
132 | | - - name: Create app token |
133 | | - uses: actions/create-github-app-token@v1 |
134 | | - id: app-token |
135 | | - with: |
136 | | - app-id: ${{ secrets.BOT_CLIENT_ID }} |
137 | | - private-key: ${{ secrets.BOT_PRIVATE_KEY }} |
138 | 124 | - name: Checkout repository |
139 | 125 | uses: actions/checkout@v4 |
140 | | - with: |
141 | | - token: ${{ steps.app-token.outputs.token }} |
142 | 126 | - name: Set up Python 3.11 |
143 | 127 | uses: actions/setup-python@v5 |
144 | 128 | with: |
@@ -212,16 +196,8 @@ jobs: |
212 | 196 | if: ${{ inputs.job_to_run == 'L10N-Windows' || inputs.win_installer_link }} |
213 | 197 | runs-on: windows-latest |
214 | 198 | steps: |
215 | | - - name: Create app token |
216 | | - uses: actions/create-github-app-token@v1 |
217 | | - id: app-token |
218 | | - with: |
219 | | - app-id: ${{ secrets.BOT_CLIENT_ID }} |
220 | | - private-key: ${{ secrets.BOT_PRIVATE_KEY }} |
221 | 199 | - name: Checkout repository |
222 | 200 | uses: actions/checkout@v4 |
223 | | - with: |
224 | | - token: ${{ steps.app-token.outputs.token }} |
225 | 201 | - name: Set up Python 3.11 |
226 | 202 | uses: actions/setup-python@v5 |
227 | 203 | with: |
|
0 commit comments