Skip to content

Commit

Permalink
build documentation on latest stable julia version
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen94 committed Aug 28, 2020
1 parent 957050f commit bae3396
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,18 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1.0.0
- uses: julia-actions/setup-julia@latest
- uses: actions/checkout@v2
- name: Cache artifacts
uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
version: "1.0"
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
Expand Down
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ try
using ISICArchive
catch
using Pkg
Pkg.add(url="https://evizero.github.io/Augmentor.jl/generated/mnist_elastic/", rev="master")
Pkg.add(url="https://github.com/Evizero/ISICArchive.jl.git", rev="master")
using ISICArchive
end

Expand Down

0 comments on commit bae3396

Please sign in to comment.