From ea040ed3c6cf7872698e54f6bd9df01046d4eab7 Mon Sep 17 00:00:00 2001 From: Jordan Henderson Date: Wed, 30 Oct 2024 18:41:09 -0500 Subject: [PATCH] Tar artifacts to preserve permissions --- .github/workflows/build_mpich_source.yml | 5 ++++- .github/workflows/build_openmpi_source.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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`