aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/dev.yml20
-rw-r--r--.github/workflows/release.yml20
2 files changed, 20 insertions, 20 deletions
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index 6ad0b21..f11c9d6 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -20,7 +20,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3
with:
- dotnet-version: 7.0.x
+ dotnet-version: 8.0.x
- name: Restore Dependencies
run: dotnet restore
@@ -34,29 +34,29 @@ jobs:
run: |
7z a -tzip -mx9 Inveigh-net3.5-dev.zip $PWD/Inveigh/bin/debug/net35/*
7z a -tzip -mx9 Inveigh-net4.6.2-dev.zip $PWD/Inveigh/bin/debug/net462/*
- 7z a -tzip -mx9 Inveigh-net7.0-dev.zip $PWD/Inveigh/bin/debug/net7.0/* -x!*/
+ 7z a -tzip -mx9 Inveigh-net8.0-dev.zip $PWD/Inveigh/bin/debug/net8.0/* -x!*/
- name: Publish - Trimmed/Single File
run: |
VERSION=${{ github.ref_name }}
- dotnet publish --self-contained=true -p:PublishSingleFile=true -p:PublishTrimmed=true -r linux-x64 -f net7.0 -p:AssemblyName=inveigh -c debug
- dotnet publish --self-contained=true -p:PublishSingleFile=true -p:PublishTrimmed=true -r osx-x64 -f net7.0 -p:AssemblyName=inveigh -c debug
- dotnet publish --self-contained=true -p:PublishSingleFile=true -p:PublishTrimmed=true -r win-x64 -f net7.0 -c debug
+ dotnet publish -r linux-x64 -f net8.0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c debug
+ dotnet publish -r osx-x64 -f net8.0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c debug
+ dotnet publish -r win-x64 -f net8.0 -p:PublishOption=TrimmedSingle -c debug
- name: Zip - Publish
run: |
- tar -czvf Inveigh-net7.0-linux-x64-trimmed-single-dev.tar.gz --directory=$PWD/Inveigh/bin/debug/net7.0/linux-x64/publish/ .
- tar -czvf Inveigh-net7.0-osx-x64-trimmed-single-dev.tar.gz --directory=$PWD/Inveigh/bin/debug/net7.0/osx-x64/publish/ .
- 7z a -tzip -mx9 Inveigh-net7.0-win-x64-trimmed-single-dev.zip $PWD/Inveigh/bin/debug/net7.0/win-x64/publish/*
+ tar -czvf Inveigh-net8.0-linux-x64-trimmed-single-dev.tar.gz --directory=$PWD/Inveigh/bin/debug/net8.0/linux-x64/publish/ .
+ tar -czvf Inveigh-net8.0-osx-x64-trimmed-single-dev.tar.gz --directory=$PWD/Inveigh/bin/debug/net8.0/osx-x64/publish/ .
+ 7z a -tzip -mx9 Inveigh-net8.0-win-x64-trimmed-single-dev.zip $PWD/Inveigh/bin/debug/net8.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 debug
+ dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net8.0 -p:PublishOption=NativeAOT -c debug
- name: Zip - Publish - NativeAOT
run: |
- 7z a -tzip -mx9 Inveigh-net7.0-win-x64-nativeaot-${{ github.ref_name }}.zip $PWD/Inveigh/bin/debug/net7.0/win-x64/native/*
+ 7z a -tzip -mx9 Inveigh-net8.0-win-x64-nativeaot-${{ github.ref_name }}.zip $PWD/Inveigh/bin/debug/net8.0/win-x64/native/*
- name: Release .zip
if: "! startsWith(github.event_name, 'pull_request')"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 55fef8d..c0cd260 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -19,7 +19,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3
with:
- dotnet-version: 7.0.x
+ dotnet-version: 8.0.x
- name: Restore Dependencies
run: dotnet restore
@@ -33,29 +33,29 @@ jobs:
run: |
7z a -tzip -mx9 Inveigh-net3.5-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net35/*
7z a -tzip -mx9 Inveigh-net4.6.2-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net462/*
- 7z a -tzip -mx9 Inveigh-net7.0-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net7.0/* -x!*/
+ 7z a -tzip -mx9 Inveigh-net8.0-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net8.0/* -x!*/
- name: Publish - Trimmed/Single File
run: |
VERSION=${{ github.ref_name }}
- 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
+ dotnet publish -p:Version=${VERSION:1} -r linux-x64 -f net8.0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c release
+ dotnet publish -p:Version=${VERSION:1} -r osx-x64 -f net8.0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c release
+ dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net8.0 -p:PublishOption=TrimmedSingle -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/*
+ tar -czvf Inveigh-net8.0-linux-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net8.0/linux-x64/publish/ .
+ tar -czvf Inveigh-net8.0-osx-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net8.0/osx-x64/publish/ .
+ 7z a -tzip -mx9 Inveigh-net8.0-win-x64-trimmed-single-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net8.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
+ dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net8.0 -p:PublishOption=NativeAOT -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
+ 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
- name: Release .zip
uses: softprops/action-gh-release@v1