use workdir everywhere
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build LaTeX document / build_latex (push) Failing after 5s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build LaTeX document / build_latex (push) Failing after 5s
				
			This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@@ -10,7 +10,7 @@ jobs:
 | 
				
			|||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          workdirr=${{ github.workspace }}
 | 
					          workdirr=${{ github.workspace }}
 | 
				
			||||||
          echo $workdirr
 | 
					          echo $workdirr
 | 
				
			||||||
          docker run --rm -v "$workdirr:/workdir" -w /workdir ghcr.io/xu-cheng/texlive-full:latest latexmk -pdf -xelatex -shell-escape /workdir/src/main.tex
 | 
					          docker run --rm -v "$workdirr:$workdirr" -w $workdirr ghcr.io/xu-cheng/texlive-full:latest latexmk -pdf -xelatex -shell-escape /workdir/src/main.tex
 | 
				
			||||||
          
 | 
					          
 | 
				
			||||||
      - name: Upload PDF file
 | 
					      - name: Upload PDF file
 | 
				
			||||||
        uses: actions/upload-artifact@v4
 | 
					        uses: actions/upload-artifact@v4
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user