Skip to content

Commit

Permalink
Tar artifacts to preserve permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF committed Oct 30, 2024
1 parent 56f3968 commit ea040ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build_mpich_source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`
5 changes: 4 additions & 1 deletion .github/workflows/build_openmpi_source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`

0 comments on commit ea040ed

Please sign in to comment.