diff options
author | kevin <robertsonk@gmail.com> | 2023-06-12 21:35:21 -0400 |
---|---|---|
committer | kevin <robertsonk@gmail.com> | 2023-06-12 21:35:21 -0400 |
commit | a07a71c0d4ae86d07f58cfbc1e97b48e228f11dc (patch) | |
tree | 1c58a3b27255ceb87df372ed515f96f1809b053e /.github/workflows/release.yml | |
parent | 99da789f93749cdc001dd4281250b304f511411d (diff) | |
download | Inveigh-a07a71c0d4ae86d07f58cfbc1e97b48e228f11dc.tar.gz Inveigh-a07a71c0d4ae86d07f58cfbc1e97b48e228f11dc.zip |
.NET 7 and NativeAOT Buildsv2.0.10
Removed .NET 6 builds.
Added .NET 7 and NativeAOT builds.
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c69117f..55fef8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,16 +38,25 @@ jobs: - name: Publish - Trimmed/Single File run: | VERSION=${{ github.ref_name }} - dotnet publish -p:Version=${VERSION:1} -r linux-x64 -f net7.0 -p:AssemblyName=inveigh -c release - dotnet publish -p:Version=${VERSION:1} -r osx-x64 -f net7.0 -p:AssemblyName=inveigh -c release - dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net7.0 -c release - + dotnet publish --self-contained=true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:Version=${VERSION:1} -r linux-x64 -f net7.0 -p:AssemblyName=inveigh -c release + dotnet publish --self-contained=true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:Version=${VERSION:1} -r osx-x64 -f net7.0 -p:AssemblyName=inveigh -c release + dotnet publish --self-contained=true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:Version=${VERSION:1} -r win-x64 -f net7.0 -c release + - name: Zip - Publish run: | tar -czvf Inveigh-net7.0-linux-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net7.0/linux-x64/publish/ . tar -czvf Inveigh-net7.0-osx-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net7.0/osx-x64/publish/ . 7z a -tzip -mx9 Inveigh-net7.0-win-x64-trimmed-single-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net7.0/win-x64/publish/* + - name: Publish - NativeAOT + run: | + VERSION=${{ github.ref_name }} + dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net7.0 -p:PublishAot=true -c release + + - name: Zip - Publish - NativeAOT + run: | + 7z a -tzip -mx9 Inveigh-net7.0-win-x64-nativeaot-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net7.0/win-x64/native/Inveigh.exe + - name: Release .zip uses: softprops/action-gh-release@v1 with: |