Skip to content

Update Bundled Data #147

Update Bundled Data

Update Bundled Data #147

name: Update Bundled Data
on:
schedule:
- cron: '30 9 * * *'
workflow_dispatch:
jobs:
update-eop-data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: "1.10"
- uses: julia-actions/cache@v2
- uses: actions/checkout@v4
- name: Update Package Registry
run: julia -e 'using Pkg; Pkg.update();'
- name: Ensure dependencies are built
run: julia --project -e "using Pkg; Pkg.precompile(); using SatelliteDynamics; Pkg.instantiate();"
- name: Update package data
run: julia --project ./scripts/update_data.jl
- name: Commit and push changes
uses: EndBug/add-and-commit@v9
with:
author_name: Github Worker
message: 'Commit from GitHub Actions - Daily Update of Bundled Data'
add: 'data/*'