From cd21e5c4ec5da24abd7c3f50ce564539e89f8aec Mon Sep 17 00:00:00 2001 From: vnugent Date: Fri, 6 Sep 2024 00:31:56 -0400 Subject: test-build --- .onedev-buildspec.yml | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml index 8049766..8faf682 100644 --- a/.onedev-buildspec.yml +++ b/.onedev-buildspec.yml @@ -1,4 +1,4 @@ -version: 33 +version: 35 jobs: - name: GitHub Push steps: @@ -44,3 +44,35 @@ jobs: maxRetries: 3 retryDelay: 30 timeout: 3600 +- name: Build and publish + jobExecutor: primary-shell-executor + steps: + - !CheckoutStep + name: Code checkout + cloneCredential: !DefaultCredential {} + withLfs: false + withSubmodules: false + checkoutPath: '@project_name@/' + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + - !CommandStep + name: VNBuild build + runInContainer: false + interpreter: !DefaultInterpreter + commands: | + vnbuild build -S --verbose + useTTY: true + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + - !CommandStep + name: VNBuild publish + runInContainer: false + interpreter: !DefaultInterpreter + commands: | + vnbuild publish --sign --output "f:\downloads\test\build" --verbose + useTTY: true + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + triggers: + - !BranchUpdateTrigger {} + retryCondition: never + maxRetries: 3 + retryDelay: 30 + timeout: 3600 \ No newline at end of file -- cgit