no log: Use variable for UI artifact name

pull/1443/head
LASER-Yi 3 years ago
parent 9686a3bc36
commit e93ba08790

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

Loading…
Cancel
Save