Skip to content

Commit

Permalink
change workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
super-lou committed Aug 29, 2024
1 parent 8530dc7 commit 3261d1b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
name: R-CMD-check

on:
# Trigger the workflow on push to any branch
push:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

name: R-CMD-check
workflow_dispatch:

jobs:
R-CMD-check:
Expand All @@ -34,7 +32,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}

Expand Down Expand Up @@ -74,7 +72,6 @@ jobs:
rm '/usr/local/bin/gfortran'
brew install pkg-config gdal proj geos
- name: "Install pkgdown libraries"
if: runner.os == 'Linux'
run: sudo apt-get install libharfbuzz-dev libfribidi-dev
Expand All @@ -94,7 +91,7 @@ jobs:

- name: Upload check results
if: failure()
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
Expand Down

0 comments on commit 3261d1b

Please sign in to comment.