Skip to content

Commit 28239bd

Browse files
committed
up actions to v2
1 parent 9915ef5 commit 28239bd

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/Documenter.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,19 @@ jobs:
3131
# Build job
3232
build:
3333
runs-on: ubuntu-latest
34+
env:
35+
DISPLAY: ':0'
3436
steps:
3537
- name: Checkout
3638
uses: actions/checkout@v4
3739
- name: Setup Julia
38-
uses: julia-actions/setup-julia@v1
40+
uses: julia-actions/setup-julia@v2
3941
- name: Pull Julia cache
40-
uses: julia-actions/cache@v1
42+
uses: julia-actions/cache@v2
43+
- name: Install documentation dependencies # for GLMakie plots
44+
run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev
4145
- name: Install documentation dependencies
42-
run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
43-
- name: Install custom documentation dependencies
44-
run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e 'using Pkg; pkg"dev ."; Pkg.instantiate(); Pkg.precompile(); Pkg.status()'
46+
run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e 'using Pkg; Pkg.Registry.update(); pkg"dev ."; Pkg.instantiate(); Pkg.precompile(); Pkg.status()'
4547
- name: Build and deploy
4648
env:
4749
RASTERDATASOURCES_PATH: "."

0 commit comments

Comments
 (0)