Compare commits
	
		
			No commits in common. "335f59f2d8257fde1bf37f6bde8414f8c334030e" and "97aef4fcd11a1d9ab90305aa205f5784a7f46398" have entirely different histories.
		
	
	
		
			335f59f2d8
			...
			97aef4fcd1
		
	
		
					 1 changed files with 5 additions and 13 deletions
				
			
		| 
						 | 
					@ -33,29 +33,21 @@ jobs:
 | 
				
			||||||
      # Step 3: Compile the LaTeX.
 | 
					      # Step 3: Compile the LaTeX.
 | 
				
			||||||
      - name: Compile LaTeX document
 | 
					      - name: Compile LaTeX document
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          latexmk -pdf -jobname=dist/leonardo-murca-resume main.tex
 | 
					          latexmk -pdf -jobname=dist/main main.tex && rm -f dist/main.aux dist/main.log dist/main.out dist/main.fls dist/main.fdb_latexmk
 | 
				
			||||||
          rm -f dist/leonardo-murca-resume.aux dist/leonardo-murca-resume.log dist/leonardo-murca-resume.out dist/leonardo-murca-resume.fls dist/leonardo-murca-resume.fdb_latexmk
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # Step 4: Get commit messages for the release (from the tag)
 | 
					      # Step 4: Get commit messages for the release (from the tag)
 | 
				
			||||||
      - name: Get commit messages for the release
 | 
					      - name: Get commit messages for the release
 | 
				
			||||||
        id: get_commit_messages
 | 
					        id: get_commit_messages
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          LAST_TAG=$(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1) 2>/dev/null || echo "")
 | 
					          COMMITS=$(git log ${GITHUB_REF} --pretty=format:'- %s' | head -n 20)
 | 
				
			||||||
            if [ -z "$LAST_TAG" ]; then
 | 
					          echo "commits=$COMMITS" >> $GITHUB_ENV
 | 
				
			||||||
              COMMITS=$(git log --pretty=format:'- %s' | head -n 20)
 | 
					 | 
				
			||||||
            else
 | 
					 | 
				
			||||||
              COMMITS=$(git log $LAST_TAG..HEAD --pretty=format:'- %s' | head -n 20)
 | 
					 | 
				
			||||||
            fi
 | 
					 | 
				
			||||||
            echo "commits<<EOF" >> $GITHUB_ENV
 | 
					 | 
				
			||||||
            echo "$COMMITS" >> $GITHUB_ENV
 | 
					 | 
				
			||||||
            echo "EOF" >> $GITHUB_ENV
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # Step 5: Upload the compiled PDF as a release asset
 | 
					      # Step 5: Upload the compiled PDF as a release asset
 | 
				
			||||||
      - name: Upload PDF to Release
 | 
					      - name: Upload PDF to Release
 | 
				
			||||||
        uses: actions/upload-artifact@v3
 | 
					        uses: actions/upload-artifact@v3
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: leonardo-murca-resume.pdf  # The file to upload as the release asset.
 | 
					          name: main.pdf  # The file to upload as the release asset
 | 
				
			||||||
          path: dist/leonardo-murca-resume.pdf  # Path to the compiled PDaF
 | 
					          path: dist/main.pdf  # Path to the compiled PDaF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # Step 6: Create release
 | 
					      # Step 6: Create release
 | 
				
			||||||
      - name: Create release
 | 
					      - name: Create release
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue