no log: Use variable for UI artifact name

This commit is contained in:
LASER-Yi 2021-06-20 22:56:16 +08:00
parent 9686a3bc36
commit e93ba08790
1 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@ on:
env:
UI_DIRECTORY: ./frontend
UI_ARTIFACT_NAME: ui
jobs:
Frontend:
@ -48,7 +49,7 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: "ui"
name: ${{ env.UI_ARTIFACT_NAME }}
path: "${{ env.UI_DIRECTORY }}/build"
Backend:
@ -69,7 +70,7 @@ jobs:
- name: Install UI
uses: actions/download-artifact@v2
with:
name: "ui"
name: ${{ env.UI_ARTIFACT_NAME }}
path: "${{ env.UI_DIRECTORY }}/build"
- name: Install Python dependencies