File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,20 +42,20 @@ jobs:
4242
4343 - name : Re-generate outputs from tutorial scripts
4444 run : |
45- docker volume create spack
46- DOCKER_RUN_OPTS="-e COLUMNS=94 -e COLIFY_SIZE=24x94 -v spack:/home/spack/spack"
4745 chmod -R a+w outputs
46+ mkdir -p spack-home && chmod -R a+rwx spack-home
47+ DOCKER_RUN_OPTS="-e COLUMNS=94 -e COLIFY_SIZE=24x94 -v ./spack-home:/home/spack"
4848 make -C outputs -j $(nproc) DOCKER_RUN_OPTS="$DOCKER_RUN_OPTS" container=ghcr.io/spack/tutorial
4949
5050 - name : Show diff of modified files
5151 run : |
52- git diff HEAD .
52+ git diff HEAD outputs/
5353
5454 - name : Push modified files to branch
5555 if : ( github.event_name == 'pull_request' && ! github.event.pull_request.head.repo.fork )
5656 run : |
5757 git config user.name "github-actions[bot]"
5858 git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
59- git add .
59+ git add outputs/
6060 git commit -m "Update generated outputs on behalf of [@${{ github.actor }}]"
6161 git push
You can’t perform that action at this time.
0 commit comments