Skip to content

update samplingProtocol text. Add DOI after initial publication of th… #22

update samplingProtocol text. Add DOI after initial publication of th…

update samplingProtocol text. Add DOI after initial publication of th… #22

Workflow file for this run

name: Convert CSV files to Darwin Core compliant event and occurrence files
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
generate-data:
runs-on: windows-latest
# runs-on: ubuntu-latest #errors out when installing 'units' package
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
r-version: '4.3.2'
- uses: r-lib/actions/setup-renv@v2
- name: Generate data # Run the script
run: source("R/data_to_dwc.R")
shell: Rscript {0}
- name: Commit files # Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add .
git diff-index --quiet HEAD || (git commit -m "update data" && git push)