Skip to content

Commit 1145d1b

Browse files
committed
more persistent path stuff to try
1 parent ae324f7 commit 1145d1b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/outputs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)