diff --git a/.github/workflows/reports.yml b/.github/workflows/reports.yml index fd2377ededf..e797f8cbb55 100644 --- a/.github/workflows/reports.yml +++ b/.github/workflows/reports.yml @@ -351,6 +351,7 @@ jobs: PACKAGE_NAME=$(basename $artifact .json) echo $PACKAGE_NAME mv ./test-repo/${{ matrix.project.path }}/target/$PACKAGE_NAME.json ./compilation_artifact_${{ steps.report.outputs.compilation_report_name }}.json + echo "compilation_artifact_name=$PACKAGE_NAME" >> $GITHUB_OUTPUT done - name: Upload compilation report @@ -366,8 +367,8 @@ jobs: with: # name: compilation_artifacts # path: ./artifacts - name: compilation_artifact_${{ steps.report.outputs.compilation_report_name }} - path: compilation_artifact_${{ steps.report.outputs.compilation_report_name }}.json + name: compilation_artifact_${{ steps.report.outputs.compilation_artifact_name }} + path: compilation_artifact_${{ steps.report.outputs.compilation_artifact_name }}.json retention-days: 3 overwrite: true @@ -648,6 +649,8 @@ jobs: NAME_FROM_MATRIX=${{ matrix.project.path }} NAME_FROM_MATRIX=$(basename $NAME_FROM_MATRIX) echo $NAME_FROM_MATRIX + NAME_FROM_MATRIX="${NAME_FROM_MATRIX//-/_}" + echo $NAME_FROM_MATRIX for artifact in ./artifacts/*; do echo $artifact ARTIFACT_NAME=$(basename $artifact .json)