Skip to content

Commit bdbd1b4

Browse files
soulbirdsoulbird
andauthored
fix: github action upload file failed (#222)
Co-authored-by: soulbird <[email protected]>
1 parent d229010 commit bdbd1b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ jobs:
8888
uses: actions/[email protected]
8989
with:
9090
name: "apisix-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm"
91-
path: "./apisix-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm"
91+
path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/apisix-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm"
9292

9393
- name: Upload apisix-base Artifact
9494
if: ${{ startsWith(steps.tag_type.outputs.version, 'apisix-base/') }}
9595
uses: actions/[email protected]
9696
with:
9797
name: "apisix-base-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm"
98-
path: "./apisix-base-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm"
98+
path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/apisix-base-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm"
9999

100100
- name: Upload apisix-dashboard Artifact
101101
if: ${{ startsWith(steps.tag_type.outputs.version, 'dashboard/') }}

0 commit comments

Comments
 (0)