Skip to content

Commit dbe765a

Browse files
committed
ci: install opencoarrays in the right place
1 parent d781e82 commit dbe765a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
id: cache-opencoarrays
2525
uses: actions/cache@v4
2626
with:
27-
path: "${HOME}/apps/OpenCoarrays/${OC_V}/"
27+
path: "${HOME}/apps/OpenCoarrays/${OC_V}"
2828
key: OC-${{ env.OC_V }}
2929

3030
- name: Install GFortran
@@ -41,10 +41,10 @@ jobs:
4141
wget https://github.com/sourceryinstitute/OpenCoarrays/releases/download/${OC_V}/OpenCoarrays-${OC_V}.tar.gz
4242
tar xzvf OpenCoarrays-${OC_V}.tar.gz
4343
cd OpenCoarrays-${OC_V}
44-
mkdir -p "${HOME}/apps"
45-
cmake -S . -B build -DCMAKE_INSTALL_PREFIX="${HOME}/apps/OpenCoarrays"
44+
mkdir -p "${HOME}/apps/OpenCoarrays/${OC_V}"
45+
cmake -S . -B build -DCMAKE_INSTALL_PREFIX="${HOME}/apps/OpenCoarrays/${OC_V}"
4646
cmake --build build -t install -j
47-
echo "${HOME}/apps/OpenCoarrays/bin" >> $GITHUB_PATH
47+
echo "${HOME}/apps/OpenCoarrays/${OC_V}/bin" >> $GITHUB_PATH
4848
4949
- name: Build, run, and test
5050
run: |

0 commit comments

Comments
 (0)