Skip to content

build-main

build-main #25

Workflow file for this run

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