From 7cfe8b616ac0918754e757ab9db5f21c3d08389d Mon Sep 17 00:00:00 2001 From: Jeffery Date: Sat, 21 Mar 2026 21:31:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B0=87=E5=A5=97=E4=BB=B6=E7=B7=A8?= =?UTF-8?q?=E8=AD=AF=E5=88=B0=E5=B7=A5=E4=BD=9C=E7=9B=AE=E9=8C=84=E7=9A=84?= =?UTF-8?q?=20output=20=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yaml | 3 ++- entrypoint.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index 231add5..c4d5895 100644 --- a/action.yaml +++ b/action.yaml @@ -31,4 +31,5 @@ runs: RELEASE_VERSION: ${{ inputs.RELEASE_VERSION }} RELEASE_AUTHOR: ${{ inputs.RELEASE_AUTHOR }} RELEASE_COMPANY: ${{ inputs.RELEASE_COMPANY }} - RELEASE_DESCRIPTION: ${{ inputs.RELEASE_DESCRIPTION }} \ No newline at end of file + RELEASE_DESCRIPTION: ${{ inputs.RELEASE_DESCRIPTION }} + WORKSPACE: ${{ gitea.workspace }} \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index 601abc2..55db888 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -44,7 +44,7 @@ echo "--------------------------------------------------" RELEASE_URL="$GITEA_SERVER_URL/$GITEA_REPOSITORY/src/branch/master" # 打包 NUGET 套件 -cd $RELEASE_PROJECT && dotnet pack -c "$CONFIGURATION" -o "output" \ +cd $RELEASE_PROJECT && dotnet pack -c "$CONFIGURATION" -o "$WORKSPACE/output" \ /p:PackageVersion="$RELEASE_VERSION" \ /p:RepositoryUrl="$RELEASE_URL" \ /p:RepositoryType="git" \