Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ammar-ahmed22 committed Dec 25, 2024
1 parent 3d5637a commit b506552
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v4

- name: Compile PDF with Typst
uses: ammar-ahmed22/compile-typst-action@v1
uses: ammar-ahmed22/compile-typst-action@main
with:
source_paths: src/main.typ
output_paths: 'latest.png'
Expand All @@ -24,4 +24,4 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: '[bot]: Updated latest image'
branch: main
branch: main
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: echo "DATE=$(date +%m-%d-%Y)" >> $GITHUB_ENV

- name: Compile PDF with Typst
uses: ammar-ahmed22/compile-typst-action@v1
uses: ammar-ahmed22/compile-typst-action@main
with:
source_paths: src/main.typ
output_paths: 'src/resume_${{ github.ref_name }}-${{ env.DATE }}.pdf'
Expand All @@ -33,4 +33,4 @@ jobs:
if: github.ref_type == 'tag'
with:
name: "${{ github.ref_name }} - ${{ env.DATE }}"
files: "src/resume_${{ github.ref_name }}-${{ env.DATE }}.pdf"
files: "src/resume_${{ github.ref_name }}-${{ env.DATE }}.pdf"

0 comments on commit b506552

Please sign in to comment.