Skip to content

Commit

Permalink
Fix data download workflow.
Browse files Browse the repository at this point in the history
Attempt to fix data download workflow. Particularly errors caused by
use of "Pkg" functions. These may be caused by the Julia version being
used, which was 1.1. It appears that despite the version specification
being set to 1.10, if the characters were not escaped with "1.10" the
trailing 0 was being removed an an improper version being set.

Hopefully by escaping the full version string it will fix that.
  • Loading branch information
duncaneddy committed May 30, 2024
1 parent bc892d0 commit 48a81b3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/update_bundled_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@ jobs:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: 1.10
version: "1.10"
- uses: julia-actions/cache@v2
- uses: actions/checkout@v4
- 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: Ensure dependencies are built
run: julia --project -e "using Pkg; Pkg.precompile(); using SatelliteDynamics; Pkg.instantiate();"
- name: Update package data
run: julia ./scripts/update_data.jl
- name: Commit and push changes
Expand Down

0 comments on commit 48a81b3

Please sign in to comment.