|
69 | 69 | gen-chunks: |
70 | 70 | name: Generate chunks |
71 | 71 | runs-on: ubuntu-latest |
72 | | - if: ${{ !(github.event_name == 'pull_request' && startsWith(github.head_ref, 'release/')) }} |
| 72 | + # if: ${{ !(github.event_name == 'pull_request' && startsWith(github.head_ref, 'release/')) }} |
73 | 73 | outputs: |
74 | 74 | should_build: ${{ steps.set-chunks.outputs.should_build }} |
75 | 75 | recompile_preset: ${{ steps.set-chunks.outputs.recompile_preset }} |
@@ -251,58 +251,58 @@ jobs: |
251 | 251 | path: docs_binaries |
252 | 252 | retention-days: 7 |
253 | 253 |
|
254 | | - # Save artifacts to gh-pages |
255 | | - save-master-artifacts: |
256 | | - name: Save master artifacts |
257 | | - needs: build-arduino-linux |
258 | | - if: github.event_name == 'push' && github.ref == 'refs/heads/master' |
259 | | - runs-on: ubuntu-latest |
260 | | - steps: |
261 | | - # Check out repository |
262 | | - - name: Checkout repository |
263 | | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
264 | | - with: |
265 | | - token: ${{secrets.GITHUB_TOKEN}} |
266 | | - fetch-depth: "0" |
| 254 | + # # Save artifacts to gh-pages |
| 255 | + # save-master-artifacts: |
| 256 | + # name: Save master artifacts |
| 257 | + # needs: build-arduino-linux |
| 258 | + # if: github.event_name == 'push' && github.ref == 'refs/heads/master' |
| 259 | + # runs-on: ubuntu-latest |
| 260 | + # steps: |
| 261 | + # # Check out repository |
| 262 | + # - name: Checkout repository |
| 263 | + # uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 264 | + # with: |
| 265 | + # token: ${{secrets.GITHUB_TOKEN}} |
| 266 | + # fetch-depth: "0" |
267 | 267 |
|
268 | | - - name: Switch branch |
269 | | - run: git checkout remotes/origin/gh-pages |
| 268 | + # - name: Switch branch |
| 269 | + # run: git checkout remotes/origin/gh-pages |
270 | 270 |
|
271 | | - - name: Download sketches reports artifact |
272 | | - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 |
273 | | - with: |
274 | | - pattern: pr_cli_compile_* |
275 | | - merge-multiple: true |
276 | | - path: master_cli_compile |
| 271 | + # - name: Download sketches reports artifact |
| 272 | + # uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 |
| 273 | + # with: |
| 274 | + # pattern: pr_cli_compile_* |
| 275 | + # merge-multiple: true |
| 276 | + # path: master_cli_compile |
277 | 277 |
|
278 | | - - name: List files in the directory |
279 | | - run: ls -R |
| 278 | + # - name: List files in the directory |
| 279 | + # run: ls -R |
280 | 280 |
|
281 | | - - name: Commit json files to gh-pages if on master |
282 | | - if: github.event_name == 'push' && github.ref == 'refs/heads/master' |
283 | | - continue-on-error: true |
284 | | - run: | |
285 | | - git config user.name "github-actions[bot]" |
286 | | - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" |
287 | | - git add --all |
288 | | - git commit -m "Updated cli compile json files" |
289 | | - git push origin HEAD:gh-pages |
290 | | -
|
291 | | - #Upload PR number as artifact |
292 | | - upload-pr-number: |
293 | | - name: Upload PR number |
294 | | - if: ${{ github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release/') }} |
295 | | - runs-on: ubuntu-latest |
296 | | - steps: |
297 | | - - name: Save the PR number in an artifact |
298 | | - shell: bash |
299 | | - env: |
300 | | - PR_NUM: ${{ github.event.number }} |
301 | | - run: echo $PR_NUM > pr_num.txt |
| 281 | + # - name: Commit json files to gh-pages if on master |
| 282 | + # if: github.event_name == 'push' && github.ref == 'refs/heads/master' |
| 283 | + # continue-on-error: true |
| 284 | + # run: | |
| 285 | + # git config user.name "github-actions[bot]" |
| 286 | + # git config user.email "41898282+github-actions[bot]@users.noreply.github.com" |
| 287 | + # git add --all |
| 288 | + # git commit -m "Updated cli compile json files" |
| 289 | + # git push origin HEAD:gh-pages |
| 290 | + |
| 291 | + # #Upload PR number as artifact |
| 292 | + # upload-pr-number: |
| 293 | + # name: Upload PR number |
| 294 | + # if: ${{ github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release/') }} |
| 295 | + # runs-on: ubuntu-latest |
| 296 | + # steps: |
| 297 | + # - name: Save the PR number in an artifact |
| 298 | + # shell: bash |
| 299 | + # env: |
| 300 | + # PR_NUM: ${{ github.event.number }} |
| 301 | + # run: echo $PR_NUM > pr_num.txt |
302 | 302 |
|
303 | | - - name: Upload PR number |
304 | | - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
305 | | - with: |
306 | | - name: pr_number |
307 | | - path: ./pr_num.txt |
308 | | - overwrite: true |
| 303 | + # - name: Upload PR number |
| 304 | + # uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
| 305 | + # with: |
| 306 | + # name: pr_number |
| 307 | + # path: ./pr_num.txt |
| 308 | + # overwrite: true |
0 commit comments