@@ -24,18 +24,12 @@ jobs:
2424 runs-on : ${{ matrix.os }}
2525
2626 steps :
27- - uses : actions/checkout@v2
27+ - uses : actions/checkout
2828
29- - name : Setup .NET 5
30- uses : actions/setup-dotnet@v1
29+ - name : Setup .NET 10
30+ uses : actions/setup-dotnet
3131 with :
32- dotnet-version : ' 5.0.x'
33-
34- - name : Setup .NET 7
35- uses : actions/setup-dotnet@v1
36- with :
37- dotnet-version : ' 7.0.100'
38- include-prerelease : true
32+ dotnet-version : ' 10.x'
3933
4034 - name : ' Generating exports'
4135 run : |
5448 run : |
5549 cd Sources/Wrappers/AngouriMath.CPP.Exporting
5650 mkdir ../AngouriMath.CPP.Importing/out-x64
57- call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
51+ call "C:\Program Files\Microsoft Visual Studio\18 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
5852 dotnet publish -p:NativeLib=Shared -p:SelfContained=true -r ${{ matrix.flag }} -c release
5953
6054 - name : ' Building the library into native for Linux & MacOS'
6357 cd Sources/Wrappers/AngouriMath.CPP.Exporting
6458 mkdir ../AngouriMath.CPP.Importing/out-x64
6559 dotnet publish -p:NativeLib=Shared -p:SelfContained=true -r ${{ matrix.flag }} -c release
66-
67-
60+
6861 - name : ' Renaming the library for Linux'
6962 if : ${{ matrix.os == 'ubuntu-latest' }}
7063 run : |
7770 cd Sources/Wrappers/AngouriMath.CPP.Importing/out-x64
7871 mv AngouriMath.CPP.Exporting.dylib libAngouriMath.CPP.Exporting.dylib
7972 install_name_tool -id "@rpath/libAngouriMath.CPP.Exporting.dylib" libAngouriMath.CPP.Exporting.dylib
80-
8173
8274 - name : ' Uploading artifacts'
83- uses : actions/upload-artifact@v2
75+ uses : actions/upload-artifact
8476 with :
8577 name : AngouriMath.CPP-${{ matrix.os }}-x64
8678 path : ./Sources/Wrappers/AngouriMath.CPP.Importing
0 commit comments