Skip to content

Commit ae324f7

Browse files
committed
Use a docker volume to preserve state
1 parent b598a52 commit ae324f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/outputs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ 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"
4547
chmod -R a+w outputs
46-
mkdir shared-spack && chmod -R a+rwx shared-spack
47-
DOCKER_RUN_OPTS="-e COLUMNS=94 -e COLIFY_SIZE=24x94 -v $(pwd)/shared-spack:/home/spack/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

0 commit comments

Comments
 (0)