Skip to content

Merge pull request #7 from muzimuzhi/ci/bump-actions #18

Merge pull request #7 from muzimuzhi/ci/bump-actions

Merge pull request #7 from muzimuzhi/ci/bump-actions #18

Workflow file for this run

name: Test Action
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
first-run:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run the action
uses: ./
with:
packages: latex-bin
cache_version: ${{ github.run_id }}_${{ github.run_attempt }}
- run: pdflatex test.tex
run-with-cache:
needs: first-run
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run the action
uses: ./
with:
packages: latex-bin
cache_version: ${{ github.run_id }}_${{ github.run_attempt }}
repository: https://127.0.0.42/not-a-texlive-mirror/
- run: pdflatex test.tex