Skip to content

Commit

Permalink
revised release version check and additional latex package install
Browse files Browse the repository at this point in the history
latex extensions on release

new version pattern
  • Loading branch information
bburns632 committed May 3, 2024
1 parent ef43fca commit 9e35d67
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ jobs:
run: grep -E "Version:" $GITHUB_WORKSPACE/DESCRIPTION
- name: Test if it is a production pattern (#.#.#)
shell: bash
run: grep -E "Version:\s\d+\.\d+\.\d+$" $GITHUB_WORKSPACE/DESCRIPTION
run: |
verLine=$(grep -E "Version:" $GITHUB_WORKSPACE/DESCRIPTION)
dots="${verLine//[^.]}"
cnt=${#dots}
echo $((2-$cnt))
devel_test:
name: ${{ matrix.os }} (R ${{ matrix.r-version }})
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -53,6 +57,13 @@ jobs:
r-version: ${{ matrix.r-version }}
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-tinytex@v2
- run: tlmgr --version
- name: Install additional LaTeX Packages
run: |
tlmgr update --self
tlmgr update --all
tlmgr install titling framed inconsolata
tlmgr install collection-fontsrecommended
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
Expand Down

0 comments on commit 9e35d67

Please sign in to comment.