Skip to content

Commit

Permalink
Add a retry around Pkg.build (#23)
Browse files Browse the repository at this point in the history
* Add a retry around Pkg.build

* Update action.yml
  • Loading branch information
Octogonapus authored Sep 22, 2023
1 parent 72ddd0f commit 00f9fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
- run: |
import Pkg
VERSION >= v"1.5-" && Pkg.Registry.add("General")
VERSION >= v"1.1.0-rc1" ? Pkg.build(verbose=true) : Pkg.build()
VERSION >= v"1.1.0-rc1" ? retry(Pkg.build)(verbose=true) : retry(Pkg.build)()
shell: julia --color=yes --project=${{ inputs.project }} {0}
env:
JULIA_PKG_PRECOMPILE_AUTO: "${{ inputs.precompile }}"

0 comments on commit 00f9fd6

Please sign in to comment.