Skip to content

Commit 06ea5b3

Browse files
Update developer.yml
1 parent 5286071 commit 06ea5b3

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/developer.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
container:
2424
image: ghcr.io/noaa-emc/ci-common-build-cache/nceplibs-develop-ubuntu-24.04-gcc-14-mpich-x:latest
2525
volumes:
26-
- /home/runner/data:/root/data
26+
- /home/runner:/root
2727

2828
strategy:
2929
fail-fast: false
@@ -51,6 +51,7 @@ jobs:
5151
path: g2c
5252

5353
- name: cache-data
54+
if: matrix.config == 'warning'
5455
id: cache-data
5556
uses: actions/cache@v4
5657
with:
@@ -78,10 +79,6 @@ jobs:
7879
- name: warning
7980
if: matrix.config == 'warning'
8081
run: |
81-
cd /root/
82-
echo "Current root directory contents:"
83-
ls -l
84-
cd /__w/NCEPLIBS-g2c/NCEPLIBS-g2c/
8582
set -x
8683
export CC=gcc
8784
cmake -S g2c -B g2c/build \
@@ -161,8 +158,7 @@ jobs:
161158
- name: populate-data
162159
if: steps.cache-data.outputs.cache-hit != 'true' && matrix.config == 'warning'
163160
run: |
164-
cd /root/data
165-
ls -l
161+
mkdir /root/data
166162
if [ -d "$GITHUB_WORKSPACE/g2c/build/tests/data" ]; then
167163
cp -r $GITHUB_WORKSPACE/g2c/build/tests/data/* /root/data
168164
elif [ -d "$GITHUB_WORKSPACE/g2c/tests/data/" ]; then

0 commit comments

Comments
 (0)