From 518b94455cd13222c940f2ac0d506779b729e61a Mon Sep 17 00:00:00 2001 From: Duncan Eddy Date: Tue, 28 May 2024 11:51:42 -0700 Subject: [PATCH] Fix update bundled data github action. The Github Action to update the bundled package data did not work due to the underlying package dependencies not being initiated on the worker. This commit adds a step that attempts to properly initialize the package. --- .github/workflows/update_bundled_data.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update_bundled_data.yml b/.github/workflows/update_bundled_data.yml index 418193c..3bff97a 100644 --- a/.github/workflows/update_bundled_data.yml +++ b/.github/workflows/update_bundled_data.yml @@ -14,6 +14,8 @@ jobs: version: 1.10 - uses: julia-actions/cache@v2 - uses: actions/checkout@v4 + - name: Ensure packages are up-to-date and precompiled + 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