From 39aa575d157bc010f4db1fbd2ce7105fbff83ae5 Mon Sep 17 00:00:00 2001 From: Nikolai Selivanov Date: Sun, 12 Nov 2023 14:57:13 +0000 Subject: [PATCH] Fix zip path --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ed61661..7fbafdf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -60,14 +60,14 @@ jobs: run: | dotnet nuget push build/*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json - name: Zip build - run: zip UnityMVVM.zip UnityMVVM/build/UnityMVVM.dll UnityMVVM/build/UnityMVVM.xml + run: zip UnityMVVM.zip src/UnityMVVM/build/UnityMVVM.dll src/UnityMVVM/build/UnityMVVM.xml - name: Create Release if: github.ref == 'refs/heads/master' uses: ncipollo/release-action@v1 with: tag: ${{ env.newVersion }} name: Release ${{ env.newVersion }} - artifacts: "build/*.nupkg, UnityMVVM.zip" + artifacts: "UnityMVVM/build/*.nupkg, UnityMVVM.zip" token: ${{ secrets.PAT_TOKEN }} - name: Build for demo project run: ./BuildForDemo.command