diff options
Diffstat (limited to '.github/workflows/abi-report.yml')
-rw-r--r-- | .github/workflows/abi-report.yml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/.github/workflows/abi-report.yml b/.github/workflows/abi-report.yml index 6760b16..47ab492 100644 --- a/.github/workflows/abi-report.yml +++ b/.github/workflows/abi-report.yml @@ -73,7 +73,7 @@ jobs: run: | HDF5DIR=${{ github.workspace }}/hdf5/HDF_Group/HDF5/ FILE_NAME_HDF5=$(ls ${{ github.workspace }}/hdf5/HDF_Group/HDF5) - FILE_VERS=$(echo "$FILE_NAME_HDF5" | sed -r "s/([0-9]+\.[0-9]+\.[0-9]+)\..*/\1/") + FILE_VERS=$(echo "$FILE_NAME_HDF5" | sed -r "s/([0-9]+\.[0-9]+\.[0-9]+).*/\1/") echo "HDF5_ROOT=$HDF5DIR$FILE_NAME_HDF5" >> $GITHUB_OUTPUT echo "HDF5_VERS=$FILE_VERS" >> $GITHUB_OUTPUT @@ -160,12 +160,22 @@ jobs: ls -l compat_reports ls -l *.html + - name: Publish ABI reports + id: publish-abi-reports + run: | + mkdir "${{ runner.workspace }}/buildabi" + mkdir "${{ runner.workspace }}/buildabi/hdf5" + cp ${{ inputs.file_base }}-hdf5_compat_report.html ${{ runner.workspace }}/buildabi/hdf5 + cp ${{ inputs.file_base }}-hdf5_hl_compat_report.html ${{ runner.workspace }}/buildabi/hdf5 + cp ${{ inputs.file_base }}-hdf5_cpp_compat_report.html ${{ runner.workspace }}/buildabi/hdf5 + cp ${{ inputs.file_base }}-java_compat_report.html ${{ runner.workspace }}/buildabi/hdf5 + cd "${{ runner.workspace }}/buildabi" + tar -zcvf ${{ inputs.file_base }}.html.abi.reports hdf5 + shell: bash + - name: Save output as artifact uses: actions/upload-artifact@v4 with: name: abi-reports path: | - ${{ inputs.file_base }}-hdf5_compat_report.html - ${{ inputs.file_base }}-hdf5_hl_compat_report.html - ${{ inputs.file_base }}-hdf5_cpp_compat_report.html - ${{ inputs.file_base }}-java_compat_report.html + ${{ runner.workspace }}/buildabi/${{ inputs.file_base }}.html.abi.reports |