| 
81 | 81 |         id: transform-error-messages  | 
82 | 82 |         uses: stdlib-js/transform-errors-action@main  | 
83 | 83 | 
 
  | 
84 |  | -      # Format error messages:  | 
85 |  | -      - name: 'Replace double quotes with single quotes in rewritten format string error messages'  | 
86 |  | -        run: |  | 
87 |  | -          find . -name "*.js" -exec sed -E -i "s/Error\( format\( \"([a-zA-Z0-9]+)\"/Error\( format\( '\1'/g" {} \;  | 
88 |  | -
  | 
89 |  | -      # Format string literal error messages:  | 
90 |  | -      - name: 'Replace double quotes with single quotes in rewritten string literal error messages'  | 
91 |  | -        run: |  | 
92 |  | -          find . -name "*.js" -exec sed -E -i "s/Error\( format\(\"([a-zA-Z0-9]+)\"\)/Error\( format\( '\1' \)/g" {} \;  | 
93 |  | -
  | 
94 |  | -      # Format code:  | 
95 |  | -      - name: 'Replace double quotes with single quotes in inserted `require` calls'  | 
96 |  | -        run: |  | 
97 |  | -          find . -name "*.js" -exec sed -E -i "s/require\( ?\"@stdlib\/error-tools-fmtprodmsg\" ?\);/require\( '@stdlib\/error-tools-fmtprodmsg' \);/g" {} \;  | 
98 |  | -
  | 
99 | 84 |       # Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency:  | 
100 | 85 |       - name: 'Update dependencies in package.json'  | 
101 | 86 |         run: |  | 
@@ -348,7 +333,7 @@ jobs:  | 
348 | 333 | 
  | 
349 | 334 |       # Send status to Slack channel if job fails:  | 
350 | 335 |       - name: 'Send status to Slack channel in case of failure'  | 
351 |  | -        uses: act10ns/slack@v1  | 
 | 336 | +        uses: act10ns/slack@v2  | 
352 | 337 |         with:  | 
353 | 338 |           status: ${{ job.status }}  | 
354 | 339 |           steps: ${{ toJson(steps) }}  | 
@@ -518,7 +503,7 @@ jobs:  | 
518 | 503 | 
  | 
519 | 504 |       # Send status to Slack channel if job fails:  | 
520 | 505 |       - name: 'Send status to Slack channel in case of failure'  | 
521 |  | -        uses: act10ns/slack@v1  | 
 | 506 | +        uses: act10ns/slack@v2  | 
522 | 507 |         with:  | 
523 | 508 |           status: ${{ job.status }}  | 
524 | 509 |           steps: ${{ toJson(steps) }}  | 
@@ -694,7 +679,7 @@ jobs:  | 
694 | 679 | 
  | 
695 | 680 |       # Send status to Slack channel if job fails:  | 
696 | 681 |       - name: 'Send status to Slack channel in case of failure'  | 
697 |  | -        uses: act10ns/slack@v1  | 
 | 682 | +        uses: act10ns/slack@v2  | 
698 | 683 |         with:  | 
699 | 684 |           status: ${{ job.status }}  | 
700 | 685 |           steps: ${{ toJson(steps) }}  | 
@@ -886,7 +871,7 @@ jobs:  | 
886 | 871 | 
  | 
887 | 872 |       # Send status to Slack channel if job fails:  | 
888 | 873 |       - name: 'Send status to Slack channel in case of failure'  | 
889 |  | -        uses: act10ns/slack@v1  | 
 | 874 | +        uses: act10ns/slack@v2  | 
890 | 875 |         with:  | 
891 | 876 |           status: ${{ job.status }}  | 
892 | 877 |           steps: ${{ toJson(steps) }}  | 
 | 
0 commit comments