Compare commits

...

1 Commits

Author SHA1 Message Date
Octogonapus
00f9fd6b26 Add a retry around Pkg.build (#23)
* Add a retry around Pkg.build

* Update action.yml
2023-09-22 11:41:04 +02:00

View File

@@ -23,7 +23,7 @@ runs:
- run: | - run: |
import Pkg import Pkg
VERSION >= v"1.5-" && Pkg.Registry.add("General") 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} shell: julia --color=yes --project=${{ inputs.project }} {0}
env: env:
JULIA_PKG_PRECOMPILE_AUTO: "${{ inputs.precompile }}" JULIA_PKG_PRECOMPILE_AUTO: "${{ inputs.precompile }}"