File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 36
36
sudo apt update
37
37
sudo apt install -y wget
38
38
VERSION=${{ inputs.precice-version }}
39
- wget https://github.com/precice/precice/releases/download/${VERSION}/libprecice2_${VERSION#v}_$(lsb_release -cs).deb
40
- sudo apt install -y ./libprecice2_${VERSION#v}_$(lsb_release -cs).deb
41
- rm libprecice2_${VERSION#v}_$(lsb_release -cs).deb
39
+ MAJORVERSION=${VERSION:1:1}
40
+ wget https://github.com/precice/precice/releases/download/${VERSION}/libprecice${MAJORVERSION}_${VERSION#v}_$(lsb_release -cs).deb
41
+ sudo apt install -y ./libprecice${MAJORVERSION}_${VERSION#v}_$(lsb_release -cs).deb
42
+ rm libprecice${MAJORVERSION}_${VERSION#v}_$(lsb_release -cs).deb
42
43
43
44
- name : Get preCICE version hash
44
45
if : steps.check.outputs.release == 'false'
@@ -138,4 +139,4 @@ runs:
138
139
uses : actions/cache/save@v3
139
140
with :
140
141
path : ${{ inputs.install-prefix }}
141
- key : ${{ runner.os }}-precice-${{ steps.get-hash.outputs.precice-hash }}
142
+ key : ${{ runner.os }}-precice-${{ steps.get-hash.outputs.precice-hash }}
You can’t perform that action at this time.
0 commit comments