@@ -19,14 +19,14 @@ jobs:
1919 steps :
2020 # Checks-out the repository
2121 - name : Check out code
22- uses : actions/checkout@v3
22+ uses : actions/checkout@v4
2323
2424 # Get the last commit message
2525 - name : Get the last commit message
2626 id : commit_message
2727 run : |
2828 $commitMessage = git log -1 --pretty=%B
29- echo "::set-output name= message:: $commitMessage"
29+ echo "message= $commitMessage" >> $env:GITHUB_OUTPUT
3030
3131 # Calculate version number
3232 - name : Calculate version
6363 }
6464 $newVersion = "$major.$minor.$build"
6565 echo "New version: $newVersion"
66- echo "::set-output name= version:: $newVersion"
66+ echo "version= $newVersion" >> $env:GITHUB_OUTPUT
6767
6868 # Update .csproj file
6969 - name : Update project version
@@ -86,11 +86,11 @@ jobs:
8686 git commit -m "Update version to ${{ steps.version.outputs.version }}"
8787 git push
8888
89- # Install dependencies and build for both target frameworks
90- - name : Build Project for .NET Framework 4.8.1 and .NET 7
89+ # Install dependencies and build for .NET Framework 4.8.1 and .NET 10
90+ - name : Build Project for .NET Framework 4.8.1 and .NET 10
9191 run : |
92- dotnet restore Reina.Cryptography.csproj
93- dotnet build Reina.Cryptography.csproj --configuration Release
92+ dotnet restore Reina.Cryptography/Reina.Cryptography .csproj
93+ dotnet build Reina.Cryptography/Reina.Cryptography .csproj --configuration Release
9494
9595 # List build output for debugging purposes
9696 - name : List build output
@@ -115,17 +115,29 @@ jobs:
115115 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
116116 with :
117117 upload_url : ${{ steps.create_release.outputs.upload_url }}
118- asset_path : ./bin/Release/net481/Reina.Cryptography.net481 .dll
118+ asset_path : ./Reina.Cryptography/ bin/Release/net481/Reina.Cryptography.dll
119119 asset_name : Reina.Cryptography.net481.dll
120120 asset_content_type : application/octet-stream
121121
122- # Upload .dll for .NET 7 as an asset to the release
123- - name : Upload .NET 7 DLL
122+
123+ # Upload .dll for .NET 10 as an asset to the release
124+ - name : Upload .NET 10 DLL
125+ uses : actions/upload-release-asset@v1
126+ env :
127+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
128+ with :
129+ upload_url : ${{ steps.create_release.outputs.upload_url }}
130+ asset_path : ./Reina.Cryptography/bin/Release/net10.0/Reina.Cryptography.dll
131+ asset_name : Reina.Cryptography.net10.0.dll
132+ asset_content_type : application/octet-stream
133+
134+ # Upload .dll for .NET 10 as an asset to the release
135+ - name : Upload .NET 10 DLL
124136 uses : actions/upload-release-asset@v1
125137 env :
126138 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
127139 with :
128140 upload_url : ${{ steps.create_release.outputs.upload_url }}
129- asset_path : ./bin/Release/net7 .0/Reina.Cryptography.net7.0 .dll
130- asset_name : Reina.Cryptography.net7 .0.dll
141+ asset_path : ./Reina.Cryptography/ bin/Release/net10 .0/Reina.Cryptography.dll
142+ asset_name : Reina.Cryptography.net10 .0.dll
131143 asset_content_type : application/octet-stream
0 commit comments