Skip to content

Commit 7757d70

Browse files
committed
add some static/eval magic for pre-1.11 versions. Update CI versions
1 parent 4c131ac commit 7757d70

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
version:
22-
- '1.10'
22+
- 'lts'
23+
- '1'
2324
os:
2425
- ubuntu-latest
2526
- macos-latest

src/DepotDelivery.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module DepotDelivery
22

3-
public build
3+
@static if VERSION > v"1.11"
4+
eval(Expr(:public, :build))
5+
end
46

57
#-----------------------------------------------------------------------------# build
68
"""

0 commit comments

Comments
 (0)