Skip to content

Run R scripts

Run R scripts #9

Workflow file for this run

name: Run R scripts
on:
workflow_dispatch:
jobs:
generate-data:
runs-on: ${{ matrix.config.os }}
#container: ghcr.io/open-aims/seriatopora_analyses:main #put in the correct branch name
container: ghcr.io/open-aims/${{ ${{ github.repository }} | tr [:upper:] [:lower:] }}:main #put in the correct branch name

Check failure on line 10 in .github/workflows/run_r.yaml

View workflow run for this annotation

GitHub Actions / Run R scripts

Invalid workflow file

The workflow is not valid. .github/workflows/run_r.yaml (Line: 10, Col: 16): Unexpected symbol: '${{'. Located at position 1 within expression: ${{ github.repository
name: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest}
steps:
- name: test
run: |
echo "${{ Github.repository }}"
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
#- uses: actions/checkout@v4
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
#- name: Run Script
# run: |
# source("R/00_main.R")
# shell: Rscript {0}