Skip to content

Commit 6014490

Browse files
committed
Call resolve() in preview/publish workflows
Closes #518
1 parent 3ef5de8 commit 6014490

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/preview.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ jobs:
2222
with:
2323
version: '1.10'
2424

25+
# Note: needs resolve() to fix #518
2526
- name: Instantiate Julia environment
26-
run: julia --project=. -e 'using Pkg; Pkg.instantiate()'
27+
run: julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.resolve()'
2728

2829
- name: Set up Quarto
2930
uses: quarto-dev/quarto-actions/setup@v2

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
with:
2121
version: '1.10'
2222

23+
# Note: needs resolve() to fix #518
2324
- name: Instantiate Julia environment
24-
run: julia --project=. -e 'using Pkg; Pkg.instantiate()'
25+
run: julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.resolve()'
2526

2627
- name: Set up Quarto
2728
uses: quarto-dev/quarto-actions/setup@v2

0 commit comments

Comments
 (0)