feat(ci): Parameterize build task output
All checks were successful
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
All checks were successful
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Potentially useful when using the task for release artifact building later.
This commit is contained in:
parent
e4dae5bf30
commit
c63aee4aef
2 changed files with 4 additions and 2 deletions
|
@ -32,6 +32,7 @@ jobs:
|
|||
file: repo/.ci/tasks/build.yml
|
||||
vars:
|
||||
target: msvc
|
||||
output: artifact
|
||||
ref: ((.:ref))
|
||||
gitea_api_key: ((gitea_api_key))
|
||||
|
||||
|
@ -45,5 +46,6 @@ jobs:
|
|||
file: repo/.ci/tasks/build.yml
|
||||
vars:
|
||||
target: linux
|
||||
output: artifact
|
||||
ref: ((.:ref))
|
||||
gitea_api_key: ((gitea_api_key))
|
||||
|
|
|
@ -11,14 +11,14 @@ inputs:
|
|||
- name: repo
|
||||
|
||||
outputs:
|
||||
- name: artifact
|
||||
- name: ((output))
|
||||
|
||||
params:
|
||||
CI: true
|
||||
TARGET: ((target))
|
||||
GITEA_API_KEY: ((gitea_api_key))
|
||||
REF: ((ref))
|
||||
OUTPUT: artifact
|
||||
OUTPUT: ((output))
|
||||
|
||||
run:
|
||||
path: .ci/util/run.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue