From 970dfe13131484c10df1b67d9ef5391d7bd15297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxemilian=20Gr=C3=B6nblom?= Date: Sat, 20 Apr 2024 19:15:05 +0300 Subject: [PATCH] fix: Artifact suffix added to benchmarker workflow --- .github/workflows/benchmarker.yml | 7 ++++++- .github/workflows/build-workflow.yml | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmarker.yml b/.github/workflows/benchmarker.yml index 529160ec..72e5e983 100644 --- a/.github/workflows/benchmarker.yml +++ b/.github/workflows/benchmarker.yml @@ -48,6 +48,11 @@ on: default: "" required: false type: string + artifact_suffix: + description: 'The suffix to add to the artifact name' + default: '' + required: false + type: string secrets: gurobi_license: description: 'Gurobi license file secret' @@ -166,7 +171,7 @@ jobs: - name: Upload benchmarks uses: actions/upload-artifact@v4 with: - name: benchmarks-${{ github.sha }} + name: benchmarks-${{ github.sha }}${{ inputs.artifact_suffix }} path: ${{ github.workspace }}/shot-benchmarker/benchmarks - name: Cleanup license files diff --git a/.github/workflows/build-workflow.yml b/.github/workflows/build-workflow.yml index 62fc8266..f5399291 100644 --- a/.github/workflows/build-workflow.yml +++ b/.github/workflows/build-workflow.yml @@ -382,6 +382,7 @@ jobs: enable_gams: ${{ inputs.enable_gams }} gurobi_license_file: ${{ needs.build.outputs.gurobi_license_file }} gams_license_file: ${{ needs.build.outputs.gams_license_file }} + artifact_suffix: ${{ inputs.artifact_suffix }} secrets: gurobi_license: ${{ secrets.gurobi_license }} gams_license: ${{ secrets.gams_license }}