build-main #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-main | |
run-name: build-main | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
# every day at midnight | |
- cron: 0 0 * * * | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/osgeo/gdal | |
permissions: | |
contents: write | |
name: main | |
steps: | |
- run: apt-get update | |
- run: apt-get install -y git | |
- uses: actions/checkout@v3 | |
- run: sh ./run.sh | |
- run: ls | |
# prevents fatal: detected dubious ownership in repository at '/__w/ogr2ogr/ogr2ogr' | |
- run: git config --global --add safe.directory /__w/ogr2ogr/ogr2ogr | |
# Commit all changed files back to the repository | |
- uses: stefanzweifel/git-auto-commit-action@v5 |