Skip to content

Commit

Permalink
more wondering about undocumented rhub.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jarioksa committed Dec 1, 2024
1 parent 3263ed9 commit 3b6e331
Showing 1 changed file with 16 additions and 32 deletions.
48 changes: 16 additions & 32 deletions .github/workflows/rhub.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# R-hub's generic GitHub Actions workflow file. It's canonical location is at
# R-hub's generic GitHub Actions workflow file. It's canonical location is at
# https://github.com/r-hub/actions/blob/v1/workflows/rhub.yaml
# You can update this file to a newer version using the rhub2 package:
#
Expand Down Expand Up @@ -37,6 +37,20 @@ jobs:
with:
config: ${{ github.event.inputs.config }}
id: rhub-setup
- uses: r-lib/actions/setup-tinytex@v2
- run: tlmgr --version
- run: tlmgr update --self

- name: Install additional LaTeX packages
run: |
tlmgr install ae babel-english pdflscape pdfpages sidecap
tlmgr list --only-installed
- name: Install ghostscript
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get -y install ghostscript
linux-containers:
needs: setup
Expand All @@ -60,22 +74,7 @@ jobs:
with:
token: ${{ secrets.RHUB_TOKEN }}
job-config: ${{ matrix.config.job-config }}
- uses: r-hub/actions/setup-tinytex@v2
- run: tlmgr --version
- run: tlmgr update --self

- name: Install additional LaTeX packages
run: |
tlmgr install ae babel-english pdflscape pdfpages sidecap
tlmgr list --only-installed
- name: Install ghostscript
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get -y install ghostscript
- uses: r-hub/actions/run-check@v1
- uses: r-hub/actions/run-check@v1
with:
token: ${{ secrets.RHUB_TOKEN }}
job-config: ${{ matrix.config.job-config }}
Expand All @@ -100,21 +99,6 @@ jobs:
with:
token: ${{ secrets.RHUB_TOKEN }}
job-config: ${{ matrix.config.job-config }}
- uses: r-lib/actions/setup-tinytex@v2
- run: tlmgr --version
- run: tlmgr update --self

- name: Install additional LaTeX packages
run: |
tlmgr install ae babel-english pdflscape pdfpages sidecap
tlmgr list --only-installed
- name: Install ghostscript
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get -y install ghostscript
- uses: r-hub/actions/setup-deps@v1
with:
job-config: ${{ matrix.config.job-config }}
Expand Down

0 comments on commit 3b6e331

Please sign in to comment.