File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -58,17 +58,25 @@ jobs:
5858 echo ${CCACHE_BASEDIR}
5959 ccache -s
6060 fi
61+
62+ - name : Sanitize artifact name
63+ id : sanitize
64+ run : |
65+ artifact_name=$(echo "ModelOrderReduction_${{ steps.sofa.outputs.run_branch }}_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${{ runner.os }}" | \
66+ tr -d '":;<>|*?\r\n\\/' | \
67+ tr ' ' '_')
68+ echo "artifact_name=$artifact_name" >> $GITHUB_OUTPUT
6169
6270 - name : Create artifact
63716472 with :
65- name : ModelOrderReduction_ ${{ steps.sofa .outputs.run_branch }}_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${{ runner.os }}
73+ name : ${{ steps.sanitize .outputs.artifact_name }}
6674 path : ${{ env.WORKSPACE_INSTALL_PATH }}
6775
6876 - name : Install artifact
69777078 with :
71- name : ModelOrderReduction_ ${{ steps.sofa .outputs.run_branch }}_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${{ runner.os }}
79+ name : ${{ steps.sanitize .outputs.artifact_name }}
7280 path : ${{ env.WORKSPACE_ARTIFACT_PATH }}
7381
7482 - name : Check environment for tests
You can’t perform that action at this time.
0 commit comments