Prexonite, a .NET hosted scripting language with a focus on meta-programming and embedded DSLs
0

Configure Feed

Select the types of activity you want to include in your feed.

Also build release version as part of CI

authored by

Christian Klauser and committed by
Christian Klauser
(Dec 11, 2023, 10:42 PM +0100) 8f477461 fb33320e

+9 -4
+3 -1
.github/workflows/PrxCi.yml
··· 56 56 - name: Test 57 57 run: dotnet test --no-restore --no-build --verbosity=normal 58 58 - name: Pack 59 - run: dotnet pack --no-restore --no-build --verbosity=normal 59 + # Will build Release version. This is intentional to make sure 60 + # that the Release configuration also works. 61 + run: dotnet pack --verbosity=normal 60 62
+2 -2
.github/workflows/PrxRelease.yml
··· 70 70 - name: Prepare Binary ZIP 71 71 run: | 72 72 ver='${{steps.determine-version.outputs.version}}' 73 - cd Prx/bin/Release/net6.0/${{ matrix.runtime_ident }} && \ 73 + cd Prx/bin/Release/net8.0/${{ matrix.runtime_ident }} && \ 74 74 mkdir zip-env && \ 75 75 mv publish "zip-env/prexonite-v$ver" 76 76 shell: bash ··· 78 78 uses: thedoctor0/zip-release@0.6.1 79 79 with: 80 80 filename: prexonite-v${{steps.determine-version.outputs.version}}-${{ matrix.runtime_ident }}.zip 81 - directory: Prx/bin/Release/net6.0/${{ matrix.runtime_ident }}/zip-env 81 + directory: Prx/bin/Release/net8.0/${{ matrix.runtime_ident }}/zip-env 82 82 - name: Push Prexonite Package (windows-only) 83 83 if: matrix.os == 'windows' 84 84 run: dotnet nuget push Prexonite/bin/Release/Prexonite.${{steps.determine-version.outputs.version}}.nupkg
+4 -1
Prx/Program.cs
··· 321 321 #endif 322 322 } 323 323 324 - if (_reportErrors(result.Value.Target.Messages)) 324 + // ReSharper disable once ConditionIsAlwaysTrueOrFalse 325 + if (((Application, ITarget)?)result == null) 326 + return null; 327 + else if (_reportErrors(result.Value.Target.Messages)) 325 328 return null; 326 329 327 330 var app = result.Value.Application;