mirror of
https://github.com/julia-actions/julia-buildpkg.git
synced 2026-02-12 09:26:54 +08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3eb439fad | ||
|
|
d36834d834 | ||
|
|
98b1bc2639 | ||
|
|
cec9c38577 |
2
.github/workflows/backup.yml
vendored
2
.github/workflows/backup.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Configure cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
${{ env.GITHUB_WORKSPACE }}
|
||||
|
||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
||||
with:
|
||||
path: ./.github/actions/julia-buildpkg
|
||||
|
||||
- uses: julia-actions/setup-julia@v1
|
||||
- uses: julia-actions/setup-julia@v2
|
||||
with:
|
||||
version: ${{ matrix.version }}
|
||||
arch: ${{ matrix.arch }}
|
||||
|
||||
@@ -33,7 +33,7 @@ runs:
|
||||
shell: bash
|
||||
- run: |
|
||||
if "${{ inputs.ignore-no-cache }}" == "false" && !isdir(DEPOT_PATH[1])
|
||||
println("::notice title=[julia-buildpkg] Caching of the julia depot was not detected ::Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true` ")
|
||||
println("::notice title=[julia-buildpkg] Caching of the julia depot was not detected ::Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache To ignore, set input `ignore-no-cache: true` ")
|
||||
end
|
||||
import Pkg
|
||||
|
||||
@@ -46,7 +46,12 @@ runs:
|
||||
|
||||
|
||||
if VERSION >= v"1.5-"
|
||||
Pkg.Registry.add("General")
|
||||
if VERSION >= v"1.8-"
|
||||
# Install the default registries
|
||||
Pkg.Registry.add()
|
||||
else
|
||||
Pkg.Registry.add("General")
|
||||
end
|
||||
|
||||
# If provided add local registries
|
||||
if !isempty("${{ inputs.localregistry }}")
|
||||
|
||||
Reference in New Issue
Block a user