Skip to content

Commit

Permalink
if apt-get
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed Feb 19, 2024
1 parent ea32a20 commit ba0464b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/rhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ jobs:
steps:
- name: Install sudo (Linux)
if: runner.os == 'Linux'
run: apt-get install sudo
run: |
if command -v apt-get &> /dev/null
then
apt-get install sudo
fi
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-hub/rhub2/actions/rhub-checkout@v1
- uses: r-hub/rhub2/actions/rhub-platform-info@v1
Expand Down

0 comments on commit ba0464b

Please sign in to comment.