From 0fe3f80387f54e6312b1a9c4d302d6732b84ba73 Mon Sep 17 00:00:00 2001 From: gdlcf88 Date: Thu, 16 Jul 2020 19:37:14 +0800 Subject: [PATCH] Fix publish.yml --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dc9a54a8..f0952a7f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,7 @@ jobs: with: regex_pattern: '(?<=>)[^<>]+(?=)' regex_flags: 'gim' - search_string: '${{ steps.commonProps.outputs.content }}' + search_string: '${{ steps.commonProps.outputs.first_match }}' - name: dotnet build run: dotnet build -c Release @@ -34,7 +34,7 @@ jobs: run: | cd dest del * -Exclude EasyAbp.* - del * -Exclude *.${{ steps.getVersion.outputs.content }}.nupkg + del * -Exclude *.${{ steps.getVersion.outputs.first_match }}.nupkg del *.HttpApi.Client.ConsoleTestApp* del *.Host.Shared* dir -name @@ -50,5 +50,5 @@ jobs: - name: add git tag uses: Klemensas/action-autotag@stable with: - version: ${{ steps.getVersion.outputs.content }} + version: ${{ steps.getVersion.outputs.first_match }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file