From e2e72599309773a031987e10c5f3c4406a8c3377 Mon Sep 17 00:00:00 2001 From: odow Date: Sun, 24 Sep 2023 20:46:26 +1300 Subject: [PATCH] Fix documentation.yml GitHub action --- .github/workflows/documentation.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index feb636f1ffd..1c9c2352f1d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -16,7 +16,13 @@ jobs: with: version: '1' - name: Install dependencies - run: julia --color=yes --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.develop("MathOptInterface"); Pkg.instantiate()' + shell: julia --color=yes --project=docs/ {0} + run: | + using Pkg + Pkg.develop(PackageSpec(path=pwd())) + Pkg.instantiate() + import MathOptInterface + Pkg.develop(path=pkgdir(MathOptInterface)) - name: Build and deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token