From c63aee4aefdf3e85e32c8a3e2cb9718c57ad9bc9 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Tue, 4 Apr 2023 15:44:15 +0200 Subject: [PATCH] feat(ci): Parameterize build task output Potentially useful when using the task for release artifact building later. --- .ci/pipelines/pr.yml | 2 ++ .ci/tasks/build.yml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.ci/pipelines/pr.yml b/.ci/pipelines/pr.yml index 7b79abe..6452c93 100644 --- a/.ci/pipelines/pr.yml +++ b/.ci/pipelines/pr.yml @@ -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)) diff --git a/.ci/tasks/build.yml b/.ci/tasks/build.yml index 3b411bc..ab3a433 100644 --- a/.ci/tasks/build.yml +++ b/.ci/tasks/build.yml @@ -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