mirror of
https://github.com/julia-actions/julia-buildpkg.git
synced 2026-02-12 17:36:54 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18a454f022 |
@@ -17,13 +17,18 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
|
- name: 'DEPRECATION WARNING: julia-actions/julia-buildpkg@master will no longer receive updates and will start to error in the future. Please use version tags like julia-actions/julia-buildpkg@v1 or commit SHAs in your workflows!'
|
||||||
|
run: |
|
||||||
|
echo "::warning title=DEPRECATION WARNING::julia-actions/julia-buildpkg@master will no longer receive updates and will start to error in the future. Please use version tags like julia-actions/julia-buildpkg@v1 or commit SHAs in your workflows!"
|
||||||
|
echo "# :warning: DEPRECATION WARNING :warning: julia-actions/julia-buildpkg@master will no longer receive updates and will start to error in the future. Please use version tags like julia-actions/julia-buildpkg@v1 or commit SHAs in your workflows!" >> $GITHUB_STEP_SUMMARY
|
||||||
|
shell: bash
|
||||||
- name: Set and export registry flavor preference
|
- name: Set and export registry flavor preference
|
||||||
run: echo "JULIA_PKG_SERVER_REGISTRY_PREFERENCE=${JULIA_PKG_SERVER_REGISTRY_PREFERENCE:-eager}" >> ${GITHUB_ENV}
|
run: echo "JULIA_PKG_SERVER_REGISTRY_PREFERENCE=${JULIA_PKG_SERVER_REGISTRY_PREFERENCE:-eager}" >> ${GITHUB_ENV}
|
||||||
shell: bash
|
shell: bash
|
||||||
- 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" ? retry(Pkg.build)(verbose=true) : retry(Pkg.build)()
|
VERSION >= v"1.1.0-rc1" ? Pkg.build(verbose=true) : 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 }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user