File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1717 tinytex :
1818 description : ' If true, install TinyTex, required for PDF rendering'
1919 required : false
20- default : ' true'
20+ default : true
21+ type : boolean
2122
2223jobs :
2324 quarto-setup :
2425 runs-on : ${{ matrix.config.os }}
25- name : ${{ matrix.config.os }}
26+ name : ${{ matrix.config.os }} (${{ inputs.version || matrix.version }})
2627
2728 strategy :
2829 fail-fast : false
2930 matrix :
31+ version : [release, pre-release]
3032 config :
3133 - { os: macos-latest }
3234 - { os: macos-13 }
3335 - { os: windows-latest }
3436 - { os: ubuntu-latest }
3537 - { os: ubuntu-22.04-arm }
38+ exclude :
39+ # Skip matrix versions when using workflow_dispatch
40+ - version : ${{ github.event_name == 'workflow_dispatch' && 'release' || '' }}
41+ - version : ${{ github.event_name == 'workflow_dispatch' && 'pre-release' || '' }}
3642
3743 steps :
3844 - uses : actions/checkout@v4
4147 env :
4248 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4349 with :
44- version : ${{ inputs.version || 'release' }}
45- tinytex : ${{ inputs.tinytex == ' true' }}
50+ version : ${{ inputs.version || matrix.version }}
51+ tinytex : ${{ inputs.tinytex || true }}
4652
4753 - run : quarto --version
4854
5157
5258 - run : where.exe quarto
5359 if : ${{ runner.os == 'Windows' }}
54-
60+
You can’t perform that action at this time.
0 commit comments