From e93ba0879023715f5f2c4ca5fc84de265b3c30ce Mon Sep 17 00:00:00 2001 From: LASER-Yi Date: Sun, 20 Jun 2021 22:56:16 +0800 Subject: [PATCH] no log: Use variable for UI artifact name --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8873973ae..962c10c89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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