From ed889c1d94eb4795d85de82c7317f14114e7539f Mon Sep 17 00:00:00 2001 From: Steve Temple Date: Wed, 12 Jul 2023 10:49:47 +0100 Subject: [PATCH] Try and put zip in location for release --- .github/workflows/Build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 3703d6f..25b0d80 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -30,9 +30,9 @@ jobs: run: dotnet publish --configuration release - name: Zip run: | - pwd cd /home/runner/work/Image-Resizer-Azure-Function/Image-Resizer-Azure-Function/src/ImageResizerFunction/bin/Release/net6.0/publish/ - zip -r /home/runner/work/Image-Resizer-Azure-Function-${{ github.ref_name }}.zip . + zip -r /home/runner/work/Image-Resizer-Azure-Function/Image-Resizer-Azure-Function/Image-Resizer-Azure-Function-${{ github.ref_name }}.zip . + cd /home/runner/work/Image-Resizer-Azure-Function/Image-Resizer-Azure-Function - name: Create Release uses: ncipollo/release-action@v1 with: