|
20 | 20 |
|
21 | 21 | jobs:
|
22 | 22 | # Check if the action code changed
|
23 |
| - check-action-code-changes: |
24 |
| - name: Check if action code changed |
25 |
| - runs-on: ubuntu-latest |
26 |
| - outputs: |
27 |
| - any_changed: ${{ steps.any_changed.outputs.any_changed }} |
28 |
| - steps: |
29 |
| - - uses: actions/checkout@v4 |
30 |
| - with: |
31 |
| - fetch-depth: 2 |
| 23 | + # check-action-code-changes: |
| 24 | + # name: Check if action code changed |
| 25 | + # runs-on: ubuntu-latest |
| 26 | + # outputs: |
| 27 | + # any_changed: ${{ steps.any_changed.outputs.any_changed }} |
| 28 | + # steps: |
| 29 | + # - uses: actions/checkout@v4 |
| 30 | + # with: |
| 31 | + # fetch-depth: 2 |
32 | 32 |
|
33 |
| - - uses: tj-actions/changed-files@v42 |
34 |
| - id: any_changed |
35 |
| - with: |
36 |
| - files: | |
37 |
| - src/** |
38 |
| - package.json |
39 |
| - package-lock.json |
40 |
| - flake.lock |
41 |
| - flake.nix |
| 33 | + # - uses: tj-actions/changed-files@v42 |
| 34 | + # id: any_changed |
| 35 | + # with: |
| 36 | + # files: | |
| 37 | + # src/** |
| 38 | + # package.json |
| 39 | + # package-lock.json |
| 40 | + # flake.lock |
| 41 | + # flake.nix |
42 | 42 |
|
43 | 43 | # Build the action if there are changes
|
44 | 44 | # Commit and push the built code
|
45 | 45 | build:
|
46 | 46 | name: Build the action
|
47 |
| - runs-on: ubuntu-20.04 |
| 47 | + runs-on: macos-latest |
48 | 48 | permissions:
|
49 | 49 | contents: write
|
50 | 50 | actions: write
|
51 |
| - needs: check-action-code-changes |
52 |
| - if: needs.check-action-code-changes.outputs.any_changed |
| 51 | + # needs: check-action-code-changes |
| 52 | + # if: needs.check-action-code-changes.outputs.any_changed |
53 | 53 | steps:
|
54 | 54 | - uses: actions/checkout@v4
|
55 | 55 |
|
|
70 | 70 | # except the version with the `primary-key`, if it exists
|
71 | 71 | purge-primary-key: never
|
72 | 72 |
|
73 |
| - # # Uncomment to debug this job |
74 |
| - # - name: Setup tmate session |
75 |
| - # uses: mxschmitt/action-tmate@v3 |
| 73 | + # Uncomment to debug this job |
| 74 | + - name: Setup tmate session |
| 75 | + uses: mxschmitt/action-tmate@v3 |
76 | 76 |
|
77 | 77 | - name: Configure github-actions bot
|
78 | 78 | run: |
|
@@ -164,6 +164,11 @@ jobs:
|
164 | 164 | purge-created: 0
|
165 | 165 | # except the version with the `primary-key`, if it exists
|
166 | 166 | purge-primary-key: never
|
| 167 | + |
| 168 | + # Uncomment to debug this job |
| 169 | + - name: Setup tmate session |
| 170 | + uses: mxschmitt/action-tmate@v3 |
| 171 | + |
167 | 172 |
|
168 | 173 | # Merge similar individual `id` caches
|
169 | 174 | # Purge individual caches and old `common` caches
|
|
0 commit comments