fix: add environment variable for .NET installation directory in deploy workflow
This commit is contained in:
@@ -8,6 +8,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: website-deploy-runner
|
runs-on: website-deploy-runner
|
||||||
|
env:
|
||||||
|
DOTNET_INSTALL_DIR: "$HOME/.dotnet"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
@@ -17,6 +19,7 @@ jobs:
|
|||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
|
cache: true
|
||||||
|
|
||||||
- name: Create Backend appsettings.Production.json
|
- name: Create Backend appsettings.Production.json
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user