Skip to content

Commit 00f9fd6

Browse files
authored
Add a retry around Pkg.build (#23)
* Add a retry around Pkg.build * Update action.yml
1 parent 72ddd0f commit 00f9fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ runs:
2323
- run: |
2424
import Pkg
2525
VERSION >= v"1.5-" && Pkg.Registry.add("General")
26-
VERSION >= v"1.1.0-rc1" ? Pkg.build(verbose=true) : Pkg.build()
26+
VERSION >= v"1.1.0-rc1" ? retry(Pkg.build)(verbose=true) : retry(Pkg.build)()
2727
shell: julia --color=yes --project=${{ inputs.project }} {0}
2828
env:
2929
JULIA_PKG_PRECOMPILE_AUTO: "${{ inputs.precompile }}"

0 commit comments

Comments
 (0)