diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d89c2ac..9209848 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,12 @@ name: CI + on: push: branches: - main tags: '*' pull_request: + jobs: build: permissions: @@ -19,7 +21,7 @@ jobs: version: '1.10' - uses: julia-actions/cache@v1 - name: Install dependencies - run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path="Julia")); Pkg.instantiate()' + run: julia --project=docs/ -e 'using Pkg; Pkg.activate("./Julia"); Pkg.instantiate()' - name: Build and deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token