Skip to content

Commit

Permalink
Updated OS-specific conditions, might fix windows build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinMShea committed Dec 12, 2024
1 parent 6b0ce16 commit 33f96ed
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/slack-notify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,18 @@ jobs:
- uses: r-lib/actions/setup-tinytex@v2
- run: tlmgr --version

- name: Install Ghostscript
run: |
if [ "${{ runner.os }}" == 'Linux' ]; then sudo apt-get install -y ghostscript; fi
if [ "${{ runner.os }}" == 'macOS' ]; then brew install ghostscript; fi
if [ "${{ runner.os }}" == 'Windows' ]; then choco install ghostscript --no-progress; fi
- name: Install Ghostscript on Linux
if: runner.os == 'Linux'
run: sudo apt-get install -y ghostscript

- name: Install Ghostscript on macOS
if: runner.os == 'macOS'
run: brew install ghostscript

- name: Install Ghostscript on Windows
if: runner.os == 'Windows'
run: choco install ghostscript --no-progress


- uses: r-lib/actions/setup-r@v2
with:
Expand Down

0 comments on commit 33f96ed

Please sign in to comment.