@@ -216,7 +216,7 @@ jobs:
216
216
if : ${{ steps.check-is-diff-non-empty.outputs.DIFF_IS_NON_EMPTY == '1' }}
217
217
run : |
218
218
mkdir outputs
219
- echo "[${{ matrix.language }} - ${{ matrix.type }}](https://github.com/${{ vars.DIFF_VIEW_USERNAME }}/${{ vars.DIFF_VIEW_REPO_NAME }}/compare/${{ steps.push.outputs.OLD_COMMIT_HASH }}..${{ steps.push.outputs.NEW_COMMIT_HASH }})" >> outputs/${{ matrix.type }}-${{ matrix.language }}.txt
219
+ echo "- [${{ matrix.language }} ${{ matrix.type }}](https://github.com/${{ vars.DIFF_VIEW_USERNAME }}/${{ vars.DIFF_VIEW_REPO_NAME }}/compare/${{ steps.push.outputs.OLD_COMMIT_HASH }}..${{ steps.push.outputs.NEW_COMMIT_HASH }})" >> outputs/${{ matrix.type }}-${{ matrix.language }}.txt
220
220
221
221
- uses : actions/upload-artifact@v3
222
222
if : ${{ steps.check-is-diff-non-empty.outputs.DIFF_IS_NON_EMPTY == '1' }}
@@ -228,7 +228,6 @@ jobs:
228
228
runs-on : ubuntu-latest
229
229
needs : [comment-diffs]
230
230
steps :
231
- - uses : actions/checkout@v3
232
231
- name : Load outputs
233
232
uses : actions/download-artifact@v3
234
233
with :
@@ -257,16 +256,16 @@ jobs:
257
256
github-token : ${{secrets.GITHUB_TOKEN}}
258
257
script : |
259
258
const replaceTable = {
260
- "module-legacy": "** Native module** ",
261
- "module-mixed": "** Turbo module with backward compat** ",
262
- "module-new": "** Turbo module** ",
263
- "view-legacy": "** Native view** ",
264
- "view-mixed": "** Fabric view with backward compat** ",
265
- "view-new": "** Fabric view** ",
266
- "java-objc": "** Java and Objective C** ",
267
- "java-swift": "** Java and Swift** ",
268
- "kotlin-objc": "** Kotlin and Objective C** ",
269
- "kotlin-swift": "** Kotlin and Swift** "
259
+ "module-legacy": "Native module",
260
+ "module-mixed": "Turbo module with backward compat",
261
+ "module-new": "Turbo module",
262
+ "view-legacy": "Native view",
263
+ "view-mixed": "Fabric view with backward compat",
264
+ "view-new": "Fabric view",
265
+ "java-objc": "Java and Objective C",
266
+ "java-swift": "Java and Swift",
267
+ "kotlin-objc": "Kotlin and Objective C",
268
+ "kotlin-swift": "Kotlin and Swift"
270
269
}
271
270
272
271
const artifacts = `${{ steps.artifacts.outputs.ARTIFACTS }}`;
@@ -276,6 +275,7 @@ jobs:
276
275
}, artifacts)
277
276
278
277
const body = `🤓☝️ This PR changes the output of \`create-react-native-library\`. You can find the diff of the changes below:
278
+
279
279
${artifactsReplaced}
280
280
`;
281
281
0 commit comments