From a64b3a0101c6993108b486573d1d67a71e09f5a6 Mon Sep 17 00:00:00 2001 From: Luca Di Leo Date: Sun, 3 Nov 2024 14:38:02 +0100 Subject: [PATCH] Workflows upgraded to net8 --- .github/workflows/build-test.yml | 2 +- .github/workflows/publish.yml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index db97db6..530794c 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -14,7 +14,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v2 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9305ca0..144fa4f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v2 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Build run: echo ${{ github.sha }} > Release.txt @@ -34,17 +34,17 @@ jobs: run: dotnet publish -p:PublishProfile=osx-x64.pubxml Obj2Tiles - name: Zip win-x64 - run: cd Obj2Tiles/bin/Release/net7.0/publish/win-x64/ && zip -r ../../../../../../Obj2Tiles-Win64.zip * + run: cd Obj2Tiles/bin/Release/net8.0/publish/win-x64/ && zip -r ../../../../../../Obj2Tiles-Win64.zip * - name: Zip win-arm - run: cd Obj2Tiles/bin/Release/net7.0/publish/win-arm/ && zip -r ../../../../../../Obj2Tiles-WinArm.zip * + run: cd Obj2Tiles/bin/Release/net8.0/publish/win-arm/ && zip -r ../../../../../../Obj2Tiles-WinArm.zip * - name: Zip win-arm64 - run: cd Obj2Tiles/bin/Release/net7.0/publish/win-arm64/ && zip -r ../../../../../../Obj2Tiles-WinArm64.zip * + run: cd Obj2Tiles/bin/Release/net8.0/publish/win-arm64/ && zip -r ../../../../../../Obj2Tiles-WinArm64.zip * - name: Zip linux-x64 - run: cd Obj2Tiles/bin/Release/net7.0/publish/linux-x64/ && zip -r ../../../../../../Obj2Tiles-Linux64.zip * + run: cd Obj2Tiles/bin/Release/net8.0/publish/linux-x64/ && zip -r ../../../../../../Obj2Tiles-Linux64.zip * - name: Zip linux-arm - run: cd Obj2Tiles/bin/Release/net7.0/publish/linux-arm/ && zip -r ../../../../../../Obj2Tiles-LinuxArm.zip * + run: cd Obj2Tiles/bin/Release/net8.0/publish/linux-arm/ && zip -r ../../../../../../Obj2Tiles-LinuxArm.zip * - name: Zip osx-x64 - run: cd Obj2Tiles/bin/Release/net7.0/publish/osx-x64/ && zip -r ../../../../../../Obj2Tiles-Osx64.zip * + run: cd Obj2Tiles/bin/Release/net8.0/publish/osx-x64/ && zip -r ../../../../../../Obj2Tiles-Osx64.zip * - name: Release uses: softprops/action-gh-release@v1