Skip to content

Commit

Permalink
Create setup-r-icons.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ballwictb committed Feb 25, 2024
1 parent 3481745 commit abf459e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/setup-r-icons.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
branches: [main]

name: Test Setup R Icons

jobs:
test-setup-r-icons:
runs-on: ubuntu-latest

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v1
with:
use-public-rspm: true

- uses: tomjemmett/setup-r-icons@v1
with:
icon-sets: fontawesome,simple_icons

- name: Show icons folder
run: ls ~/.local/share/rpkg_icon

- name: Test it worked
run: icons::icon_find("envelope")
shell: Rscript {0}

0 comments on commit abf459e

Please sign in to comment.