Skip to content

Commit

Permalink
Will release on tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
ammar-ahmed22 committed Jan 13, 2024
1 parent a4f7736 commit 143293f
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,17 @@ jobs:
uses: ammar-ahmed22/compile-typst-action@v1
with:
source_paths: src/main.typ
output_paths: 'src/${{ github.ref_name }}-${{ env.DATE }}.pdf'
output_paths: 'src/resume_${{ github.ref_name }}-${{ env.DATE }}.pdf'
fonts_path: 'src/resources/fonts'
- name: Upload PDF
uses: actions/upload-artifact@v3
with:
name: PDF
path: "**/*.pdf"

path: "src/resume_${{ github.ref_name }}-${{ env.DATE }}.pdf"


# - name: Release
# uses: softprops/action-gh-release@v1
# if: github.ref_type == 'tag'
# with:
# name: "${{ github.ref_name }} - ${{ env.DATE }}"
# files: src/main.pdf
- name: Release
uses: softprops/action-gh-release@v1
if: github.ref_type == 'tag'
with:
name: "${{ github.ref_name }} - ${{ env.DATE }}"
files: "src/resume_${{ github.ref_name }}-${{ env.DATE }}.pdf"

0 comments on commit 143293f

Please sign in to comment.