Skip to content

Adding PackedSpatRaster method for landscape_as_list #28

Adding PackedSpatRaster method for landscape_as_list

Adding PackedSpatRaster method for landscape_as_list #28

# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, development]
paths: ['DESCRIPTION']
workflow_dispatch:
name: Write-codemeta
jobs:
write-codemeta:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Install codemeta
run: Rscript -e 'install.packages("codemeta")'
- name: Write codemeta file
run: Rscript -e 'codemeta::write_codemeta()'
- name: Commit codemeta file
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git add codemeta.json
git commit -m "Re-write codemeta.json" || echo "No changes to commit"
git push origin || echo "No changes to commit"