Skip to content

Commit

Permalink
Not use setup-typst
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-gimenez committed Oct 7, 2024
1 parent 9f132f7 commit daf2c36
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: typst-community/setup-typst@v3
with:
typst-version: latest
# - uses: typst-community/setup-typst@v3
# with:
# typst-version: latest

- name: Delete samples and test
run: |
Expand All @@ -32,16 +32,16 @@ jobs:
echo "File List Examples: $file_list_examples"
echo "file_list_examples=$file_list_examples" >> $GITHUB_OUTPUT
# - name: Compile Typst examples to PDF
# uses: mkpoli/compile-typst-action@main
# with:
# source_paths: ${{ steps.file-list-examples.outputs.file_list_examples }}
# root_path: '.'

- name: Compile Typst examples to PDF
uses: lvignoli/typst-action@v0
uses: mkpoli/compile-typst-action@main
with:
source_file: ${{ steps.file-list-examples.outputs.file_list_examples }}
source_paths: ${{ steps.file-list-examples.outputs.file_list_examples }}
root_path: '.'

# - name: Compile Typst examples to PDF
# uses: lvignoli/typst-action@v0
# with:
# source_file: ${{ steps.file-list-examples.outputs.file_list_examples }}

- name: List Files test
id: file-list-test
Expand All @@ -52,30 +52,30 @@ jobs:
echo "File List Test: $file_list_test"
echo "file_list_test=$file_list_test" >> $GITHUB_OUTPUT
# - name: Compile Typst test to PDF
# # uses: mkpoli/compile-typst-action@main
# with:
# source_paths: ${{ steps.file-list-test.outputs.file_list_test }}
# root_path: '.'
- name: Compile Typst test to PDF
uses: lvignoli/typst-action@v0
uses: mkpoli/compile-typst-action@main
with:
source_file: ${{ steps.file-list-test.outputs.file_list_test }}
source_paths: ${{ steps.file-list-test.outputs.file_list_test }}
root_path: '.'
# - name: Compile Typst test to PDF
# uses: lvignoli/typst-action@v0
# with:
# source_file: ${{ steps.file-list-test.outputs.file_list_test }}

- name: Delete Doc
run: |
rm -rf ./manual/*.pdf
# - name: Compile documentation to PDF
# uses: lvignoli/typst-action@v0
# with:
# source_paths: "manual/g-exam-manual.typ"
# root_path: '.'

- name: Compile documentation to PDF
uses: lvignoli/typst-action@v0
with:
source_file: "manual/g-exam-manual.typ"
source_paths: "manual/g-exam-manual.typ"
root_path: '.'

# - name: Compile documentation to PDF
# uses: lvignoli/typst-action@v0
# with:
# source_file: "manual/g-exam-manual.typ"

- name: Upload examples PDF file
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit daf2c36

Please sign in to comment.