From 96a367ba2a5e2dcd793b1575092fad63e5d3b537 Mon Sep 17 00:00:00 2001 From: Luca Di Leo Date: Mon, 23 May 2022 19:34:06 +0200 Subject: [PATCH] Fixed publish asset --- .github/workflows/publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bf6b80a..88bb383 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,18 +34,18 @@ jobs: run: dotnet publish -p:PublishProfile=osx-x64.pubxml Obj2Tiles - name: Zip win-x64 - run: zip -r Obj2Tiles-Win64.zip ./Obj2Tiles/bin/Release/net6.0/publish/win-x64/* + run: cd Obj2Tiles/bin/Release/net6.0/publish/win-x64/ && zip -r ../../../../../../Obj2Tiles-Win64.zip * - name: Zip win-arm - run: zip -r Obj2Tiles-WinArm.zip ./Obj2Tiles/bin/Release/net6.0/publish/win-arm/* + run: cd Obj2Tiles/bin/Release/net6.0/publish/win-arm/ && zip -r ../../../../../../Obj2Tiles-WinArm.zip * - name: Zip win-arm64 - run: zip -r Obj2Tiles-WinArm64.zip ./Obj2Tiles/bin/Release/net6.0/publish/win-arm64/* + run: cd Obj2Tiles/bin/Release/net6.0/publish/win-arm64/ && zip -r ../../../../../../Obj2Tiles-WinArm64.zip * - name: Zip linux-x64 - run: zip -r Obj2Tiles-Linux64.zip ./Obj2Tiles/bin/Release/net6.0/publish/linux-x64/* + run: cd Obj2Tiles/bin/Release/net6.0/publish/linux-x64/ && zip -r ../../../../../../Obj2Tiles-Linux64.zip * - name: Zip linux-arm - run: zip -r Obj2Tiles-LinuxArm.zip ./Obj2Tiles/bin/Release/net6.0/publish/linux-arm/* + run: cd Obj2Tiles/bin/Release/net6.0/publish/linux-arm/ && zip -r ../../../../../../Obj2Tiles-LinuxArm.zip * - name: Zip osx-x64 - run: zip -r Obj2Tiles-Osx64.zip ./Obj2Tiles/bin/Release/net6.0/publish/osx-x64/* - + run: cd Obj2Tiles/bin/Release/net6.0/publish/osx-x64/ && zip -r ../../../../../../Obj2Tiles-Osx64.zip * + - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')