From bdcd11f77498bf43de9c2c11e9b0d7b8a0957523 Mon Sep 17 00:00:00 2001 From: Jon Kjennbakken Date: Fri, 11 Oct 2024 12:54:38 +0200 Subject: [PATCH] Revert "Fix release pipeline 4 (#77)" This reverts commit 81e99cd1f6a1567546d416d5c12f1ac232bc7082. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da63a83..8cd3c6a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,7 +46,7 @@ jobs: # Setup necessary info to create tag - name: Set tag variable with v, for use in tag and release based on packed Nuget - run: "echo \"RELEASE_TAG=v$(find ./src/Vipps.net -maxdepth 1 -name Vipps.net.*.nupkg | grep -oP '((\\d+)\\.(\\d+)\\.(\\d+)(.*?))')\" >> $GITHUB_ENV" + run: "echo \"RELEASE_TAG=v$(find ./out -maxdepth 1 -name Vipps.net.*.nupkg | grep -oP '((\\d+)\\.(\\d+)\\.(\\d+)(.*?))')\" >> $GITHUB_ENV" - name: Configure git username run: git config user.name github-actions-bot - name: Configure git user email @@ -83,7 +83,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ env.RELEASE_TAG }} run: | - gh release upload ${{ env.RELEASE_TAG }} src/Vipps.net/Vipps.net.${{ env.RELEASE_TAG }}.nupkg --clobber + gh release upload ${{ env.RELEASE_TAG }} out/* --clobber # Publish Nuget package - name: Publish Nuget package run: dotnet nuget push out/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json