|
24 | 24 | push: |
25 | 25 | branches: |
26 | 26 | - develop |
| 27 | + paths: |
| 28 | + # List paths for which changes should trigger this workflow: |
| 29 | + - 'lib/**/bin/**' |
| 30 | + - 'lib/**/data/**' |
| 31 | + - 'lib/**/etc/**' |
| 32 | + - 'lib/**/include/**' |
| 33 | + - 'lib/**/lib/**' |
| 34 | + - 'lib/**/src/**' |
| 35 | + - 'lib/**/test/**' |
| 36 | + |
| 37 | + - 'lib/**/*.gyp' |
| 38 | + - 'lib/**/*.gypi' |
| 39 | + - 'lib/**/manifest.json' |
| 40 | + |
| 41 | + - 'package.json' |
| 42 | + |
| 43 | + # List paths for which changes should *not* trigger this workflow: |
| 44 | + - '!lib/_tools/**' |
27 | 45 |
|
28 | 46 | # Allow the workflow to be manually run: |
29 | 47 | workflow_dispatch: |
30 | 48 |
|
| 49 | +# Workflow concurrency group: |
| 50 | +concurrency: |
| 51 | + |
| 52 | + # Specify a group name: |
| 53 | + group: ${{ github.workflow }} |
| 54 | + |
| 55 | + # Specify whether to cancel any currently workflow in the same concurrency group: |
| 56 | + cancel-in-progress: true |
| 57 | + |
31 | 58 | # Workflow jobs: |
32 | 59 | jobs: |
33 | 60 |
|
|
51 | 78 | LINKER: 'g++' |
52 | 79 | GITHUB: 'true' |
53 | 80 | DISPLAY: ':99' |
54 | | - LOG_DIR: '$GITHUB_WORKSPACE/tmp/var/log' |
55 | | - LOG_FILE_INSTALL: "$GITHUB_WORKSPACE/tmp/var/log/install.log" |
56 | | - LOG_FILE_BUILD_TASK: "$GITHUB_WORKSPACE/tmp/var/log/${{ matrix.BUILD_TASK }}.log" |
| 81 | + LOG_DIR: "${{ github.workspace }}/tmp/var/log" |
| 82 | + LOG_FILE_INSTALL: "${{ github.workspace }}/tmp/var/log/install.log" |
| 83 | + LOG_FILE_BUILD_TASK: "${{ github.workspace }}/tmp/var/log/${{ matrix.BUILD_TASK }}.log" |
57 | 84 | LOG_NUM_LINES: 5000 |
58 | 85 |
|
59 | 86 | # Define the build matrix strategy... |
@@ -234,10 +261,10 @@ jobs: |
234 | 261 | if: always() |
235 | 262 | with: |
236 | 263 | # Define a name for the uploaded artifact (ensuring a unique name for each job): |
237 | | - name: ${{ matrix.BUILD_TASK }}_log_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }} |
| 264 | + name: ${{ matrix.BUILD_TASK }}_log_nodejs_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }} |
238 | 265 |
|
239 | 266 | # Specify the path to the file to upload: |
240 | | - path: "${{ env.LOG_FILE_BUILD_TASK }}" |
| 267 | + path: ${{ env.LOG_FILE_BUILD_TASK }} |
241 | 268 |
|
242 | 269 | # Specify the number of days to retain the artifact (default is 90 days): |
243 | 270 | retention-days: 5 |
|
0 commit comments