From bc892d0ec57c8137d90d942d10a27f69eea883ad Mon Sep 17 00:00:00 2001 From: Duncan Eddy Date: Thu, 30 May 2024 11:50:18 -0700 Subject: [PATCH] Attempt to fix workflow --- .github/workflows/update_bundled_data.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update_bundled_data.yml b/.github/workflows/update_bundled_data.yml index 1ab5a9f..6c05eea 100644 --- a/.github/workflows/update_bundled_data.yml +++ b/.github/workflows/update_bundled_data.yml @@ -15,10 +15,14 @@ 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.instantiate(); using SatelliteDynamics;" + - name: Update Package Registry + run: julia -e 'using Pkg; Pkg.update();' + - name: Add SatelliteDynamics.jl + run: julia -e 'using Pkg; Pkg.add(PackageSpec(path="."));' + - name: Precompile Package + run: julia -e 'using Pkg; Pkg.precompile();' - name: Update package data - run: julia --project ./scripts/update_data.jl + run: julia ./scripts/update_data.jl - name: Commit and push changes uses: EndBug/add-and-commit@v9 with: