Skip to content

try adding env with to r-cmd-check.yml #562

try adding env with to r-cmd-check.yml

try adding env with to r-cmd-check.yml #562

# Run r cmd check
name: call-r-cmd-check
# on specifies the build triggers. See more info at https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows
on:
# The default build trigger is to run the action on every push and pull request, for any branch
push:
pull_request:
# To run the default repository branch weekly on sunday, uncomment the following 2 lines
#schedule:
#- cron: '0 0 * * 0'
jobs:
call-workflow:
uses: nmfs-fish-tools/ghactions4r/.github/workflows/r-cmd-check.yml@add-input-option-workflows

Check failure on line 13 in .github/workflows/call-r-cmd-check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/call-r-cmd-check.yml

Invalid workflow file

error parsing called workflow ".github/workflows/call-r-cmd-check.yml" -> "nmfs-fish-tools/ghactions4r/.github/workflows/r-cmd-check.yml@add-input-option-workflows" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
# uses: nmfs-fish-tools/ghactions4r/.github/workflows/r-cmd-check.yml@main
with:
additional_args_ubuntu: |
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get install --only-upgrade libstdc++6
additional_args_macos: |
brew install curl
additional_args_windows: |
tree