File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 6565 ANSYS_RELEASE_COMPACT="${ANSYS_RELEASE_SHORT//./}"
6666 echo "ANSYS_RELEASE_COMPACT=$ANSYS_RELEASE_COMPACT" >> $GITHUB_ENV
6767
68+ - name : Modify ansyslmd.ini file
69+ shell : bash
70+ run : |
71+ # Define the path to the license file
72+ LIC_FILE_PATH="C:\Program Files\ANSYS Inc\Shared Files\licensing\ansyslmd.ini"
73+ # Verify that the file exists
74+ if [ ! -f "$LIC_FILE_PATH" ]; then
75+ echo "License file not found at $LIC_FILE_PATH"
76+ exit 1
77+ fi
78+ # REPLACE the line starting with SERVER by something like: SERVER=1055@XX.XXX.XX.XX
79+ sed -i "s|^SERVER=.*|SERVER=${{ env.ANSYSLMD_LICENSE_FILE }}|" "$LIC_FILE_PATH"
80+
6881 - name : Install dependencies
6982 shell : bash
7083 run : |
Original file line number Diff line number Diff line change 11ansys-speos-core[graphics]==0.5.1
2- ansys-optislang-core==1.0.0
2+ ansys-optislang-core==1.0.0
You can’t perform that action at this time.
0 commit comments