1919 - name : Setup .NET Core SDK
2020 uses : actions/setup-dotnet@v3
2121 with :
22- dotnet-version : 8 .0.x
22+ dotnet-version : 10 .0.x
2323
2424 - name : Restore Dependencies
2525 run : dotnet restore
@@ -33,29 +33,29 @@ jobs:
3333 run : |
3434 7z a -tzip -mx9 Inveigh-net3.5-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net35/*
3535 7z a -tzip -mx9 Inveigh-net4.6.2-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net462/*
36- 7z a -tzip -mx9 Inveigh-net8 .0-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net8 .0/* -x!*/
36+ 7z a -tzip -mx9 Inveigh-net10 .0-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net10 .0/* -x!*/
3737
3838 - name : Publish - Trimmed/Single File
3939 run : |
4040 VERSION=${{ github.ref_name }}
41- dotnet publish -p:Version=${VERSION:1} -r linux-x64 -f net8 .0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c release
42- dotnet publish -p:Version=${VERSION:1} -r osx-x64 -f net8 .0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c release
43- dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net8 .0 -p:PublishOption=TrimmedSingle -c release
41+ dotnet publish -p:Version=${VERSION:1} -r linux-x64 -f net10 .0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c release
42+ dotnet publish -p:Version=${VERSION:1} -r osx-x64 -f net10 .0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c release
43+ dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net10 .0 -p:PublishOption=TrimmedSingle -c release
4444
4545 - name : Zip - Publish
4646 run : |
47- tar -czvf Inveigh-net8 .0-linux-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net8 .0/linux-x64/publish/ .
48- tar -czvf Inveigh-net8 .0-osx-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net8 .0/osx-x64/publish/ .
49- 7z a -tzip -mx9 Inveigh-net8 .0-win-x64-trimmed-single-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net8 .0/win-x64/publish/*
47+ tar -czvf Inveigh-net10 .0-linux-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net10 .0/linux-x64/publish/ .
48+ tar -czvf Inveigh-net10 .0-osx-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net10 .0/osx-x64/publish/ .
49+ 7z a -tzip -mx9 Inveigh-net10 .0-win-x64-trimmed-single-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net10 .0/win-x64/publish/*
5050
5151 - name : Publish - NativeAOT
5252 run : |
5353 VERSION=${{ github.ref_name }}
54- dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net8 .0 -p:PublishOption=NativeAOT -c release
54+ dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net10 .0 -p:PublishOption=NativeAOT -c release
5555
5656 - name : Zip - Publish - NativeAOT
5757 run : |
58- 7z a -tzip -mx9 Inveigh-net8 .0-win-x64-nativeaot-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net8 .0/win-x64/native/Inveigh.exe
58+ 7z a -tzip -mx9 Inveigh-net10 .0-win-x64-nativeaot-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net10 .0/win-x64/native/Inveigh.exe
5959
6060 - name : Release .zip
6161 uses : softprops/action-gh-release@v1
6565 - name : Release tar.gz
6666 uses : softprops/action-gh-release@v1
6767 with :
68- files : " Inveigh*.tar.gz"
68+ files : " Inveigh*.tar.gz"
0 commit comments