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 | |
|---|---|---|---|
|
|
f995fa4149 |
@@ -6,6 +6,11 @@ branding:
|
|||||||
icon: 'box'
|
icon: 'box'
|
||||||
color: 'gray-dark'
|
color: 'gray-dark'
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
project:
|
||||||
|
description: 'Value passed to the --project flag. The default value is the repository root: "@."'
|
||||||
|
default: '@.'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
@@ -26,5 +31,5 @@ runs:
|
|||||||
# packages via `Pkg.test`.
|
# packages via `Pkg.test`.
|
||||||
JULIA_PKG_SERVER: ""
|
JULIA_PKG_SERVER: ""
|
||||||
|
|
||||||
- run: julia --color=yes --project -e 'using Pkg; if VERSION >= v"1.1.0-rc1"; Pkg.build(verbose=true); else Pkg.build(); end'
|
- run: julia --color=yes --project=${{ inputs.project }} -e 'using Pkg; if VERSION >= v"1.1.0-rc1"; Pkg.build(verbose=true); else Pkg.build(); end'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user