更新 action.yml
如果沒有環境變數 ASPNETCORE_ENVIRONMENT,則從 inputs 取得
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ runs:
|
||||
- name: 安裝套件
|
||||
uses: actions/setup-dotnet@v5
|
||||
with:
|
||||
dotnet-version: ${{ inputs.DOTNET_VERSION }}
|
||||
dotnet-version: ${{ ASPNETCORE_ENVIRONMENT || inputs.DOTNET_VERSION }}
|
||||
- name: 資料庫移轉
|
||||
env:
|
||||
ASPNETCORE_ENVIRONMENT: ${{ inputs.DOTNET_ENVIRONMENT }}
|
||||
|
||||
Reference in New Issue
Block a user