Skip to content

ci: mark directory as safe #4

ci: mark directory as safe

ci: mark directory as safe #4

Workflow file for this run

name: build
on:
push:
branches: [master]
jobs:
generate_results:
runs-on: ubuntu-latest
container:
image: ghcr.io/mtiller/book-builder-image
steps:
- name: Make checkout directory as safe
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/checkout@v3
- name: Restore DVC Cache
id: dvc-cache-restore
uses: actions/cache/restore@v3
with:
path: |
.dvc/cache
key: dvc-cache
- name: Setup Build Environment
run: make env
- name: Make Simulation Specifications
run: make specs
- name: Generate Results
run: make results
- name: Save DVC Cache
id: dvc-cache-save
uses: actions/cache/save@v3
with:
path: |
.dvc/cache
key: ${{ steps.dvc-cache-restore.outputs.cache-primary-key }}