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

Potentially useful when using the task for release artifact building
later.
This commit is contained in:
Lucas Schwiderski 2023-04-04 15:44:15 +02:00
parent e4dae5bf30
commit c63aee4aef
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8
2 changed files with 4 additions and 2 deletions

View file

@ -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))

View file

@ -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