From 13c7b4bd84d058fc94547bd5c5029c7d3d3f5e53 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Wed, 6 May 2026 11:17:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=96=E5=BE=97=E7=92=B0=E5=A2=83?= =?UTF-8?q?=E8=AE=8A=E6=95=B8=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index f8a057b..7af52d1 100644 --- a/action.yml +++ b/action.yml @@ -28,7 +28,7 @@ runs: dotnet-version: ${{ inputs.DOTNET_VERSION }} - name: 資料庫移轉 env: - ASPNETCORE_ENVIRONMENT: ${{ ASPNETCORE_ENVIRONMENT || inputs.DOTNET_ENVIRONMENT }} + ASPNETCORE_ENVIRONMENT: ${{ env.ASPNETCORE_ENVIRONMENT || inputs.DOTNET_ENVIRONMENT }} run: dotnet ef database update --project ../${{ inputs.MIGRATION_PROJECT_NAME }} --context ${{ inputs.MIGRATION_CONTEXT }} shell: bash working-directory: ${{ inputs.PROJECT_NAME }} \ No newline at end of file