From bdbd1b4b3b587ec48f43044071ee079d981285b0 Mon Sep 17 00:00:00 2001 From: soulbird Date: Tue, 12 Jul 2022 14:12:21 +0800 Subject: [PATCH] fix: github action upload file failed (#222) Co-authored-by: soulbird --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c5dc415df..fc9929767 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -88,14 +88,14 @@ jobs: uses: actions/upload-artifact@v2.2.3 with: name: "apisix-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm" - path: "./apisix-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm" + path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/apisix-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm" - name: Upload apisix-base Artifact if: ${{ startsWith(steps.tag_type.outputs.version, 'apisix-base/') }} uses: actions/upload-artifact@v2.2.3 with: name: "apisix-base-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm" - path: "./apisix-base-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm" + path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/apisix-base-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm" - name: Upload apisix-dashboard Artifact if: ${{ startsWith(steps.tag_type.outputs.version, 'dashboard/') }}