Skip to content

Commit

Permalink
fix: Artifact suffix added to benchmarker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maxemiliang committed Apr 20, 2024
1 parent c6c01b7 commit 970dfe1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/benchmarker.yml
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-workflow.yml
Expand Up @@ -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 }}
Expand Down

0 comments on commit 970dfe1

Please sign in to comment.