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:
|
steps:
|
||||||
- name: Configure cache
|
- name: Configure cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ env.GITHUB_WORKSPACE }}
|
${{ env.GITHUB_WORKSPACE }}
|
||||||
|
|||||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: ./.github/actions/julia-buildpkg
|
path: ./.github/actions/julia-buildpkg
|
||||||
|
|
||||||
- uses: julia-actions/setup-julia@v1
|
- uses: julia-actions/setup-julia@v2
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.version }}
|
version: ${{ matrix.version }}
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
- run: |
|
- run: |
|
||||||
if "${{ inputs.ignore-no-cache }}" == "false" && !isdir(DEPOT_PATH[1])
|
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
|
end
|
||||||
import Pkg
|
import Pkg
|
||||||
|
|
||||||
@@ -46,7 +46,12 @@ runs:
|
|||||||
|
|
||||||
|
|
||||||
if VERSION >= v"1.5-"
|
if VERSION >= v"1.5-"
|
||||||
|
if VERSION >= v"1.8-"
|
||||||
|
# Install the default registries
|
||||||
|
Pkg.Registry.add()
|
||||||
|
else
|
||||||
Pkg.Registry.add("General")
|
Pkg.Registry.add("General")
|
||||||
|
end
|
||||||
|
|
||||||
# If provided add local registries
|
# If provided add local registries
|
||||||
if !isempty("${{ inputs.localregistry }}")
|
if !isempty("${{ inputs.localregistry }}")
|
||||||
|
|||||||
Reference in New Issue
Block a user