diff --git a/.github/workflows/build_mpich_source.yml b/.github/workflows/build_mpich_source.yml index 1a2a843afe7..f510fdcd758 100644 --- a/.github/workflows/build_mpich_source.yml +++ b/.github/workflows/build_mpich_source.yml @@ -82,9 +82,12 @@ jobs: make -j2 make install + - name: Tar MPICH installation to preserve permissions for artifact + run: tar -cvf mpich.tar ${{ runner.workspace }}/mpich + - name: Save MPICH installation artifact uses: actions/upload-artifact@v4 with: name: mpich - path: ${{ runner.workspace }}/mpich + path: mpich.tar if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` diff --git a/.github/workflows/build_openmpi_source.yml b/.github/workflows/build_openmpi_source.yml index db8798bb0b0..359dfa302c8 100644 --- a/.github/workflows/build_openmpi_source.yml +++ b/.github/workflows/build_openmpi_source.yml @@ -75,9 +75,12 @@ jobs: make -j2 make install + - name: Tar OpenMPI installation to preserve permissions for artifact + run: tar -cvf openmpi.tar ${{ runner.workspace }}/openmpi + - name: Save OpenMPI installation artifact uses: actions/upload-artifact@v4 with: name: openmpi - path: ${{ runner.workspace }}/openmpi + path: openmpi.tar if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`