File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7373 run : ls -laR .next/analyze/base && npx -p nextjs-bundle-analysis compare
7474
7575 - name : Upload analysis comment
76- uses : actions/upload-artifact@v3
76+ uses : actions/upload-artifact@v3.1.0
7777 with :
7878 name : analysis_comment.txt
7979 path : .next/analyze/__bundle_analysis_comment.txt
8282 run : echo ${{ github.event.number }} > ./pr_number
8383
8484 - name : Upload PR number
85- uses : actions/upload-artifact@v3
85+ uses : actions/upload-artifact@v3.1.0
8686 with :
8787 name : pr_number
8888 path : ./pr_number
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ exports.generateRssFeed = function () {
4040 const files = filesByOldest . reverse ( ) ;
4141
4242 for ( const filePath of files ) {
43- const id = path . basename ( filePath ) ;
43+ const id = filePath . split ( '/' ) . slice ( - 1 ) . join ( '' ) ;
4444 if ( id !== 'index.md' ) {
4545 const content = fs . readFileSync ( filePath , 'utf-8' ) ;
4646 const { data} = matter ( content ) ;
You can’t perform that action at this time.
0 commit comments