From f42b2967189f0a9eafab56739696687e1c31614e Mon Sep 17 00:00:00 2001 From: wuyfee <30968107+Wuyunfan-BUPT@users.noreply.github.com> Date: Tue, 24 Oct 2023 18:04:37 +0800 Subject: [PATCH] fix: rename tar name (#11281) --- .github/workflows/pr-ci.yml | 2 +- .github/workflows/pr-e2e-test.yml | 2 +- .github/workflows/push-ci.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index 9098abbcba6..434927e3ad9 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -25,7 +25,7 @@ jobs: name: Upload distribution tar with: name: nacos - path: distribution/target/nacos-server-*-SNAPSHOT.tar.gz + path: distribution/target/nacos-server-*.tar.gz - name: Save PR number run: | mkdir -p ./pr diff --git a/.github/workflows/pr-e2e-test.yml b/.github/workflows/pr-e2e-test.yml index a0894a2a69b..6bc7663fd07 100644 --- a/.github/workflows/pr-e2e-test.yml +++ b/.github/workflows/pr-e2e-test.yml @@ -62,7 +62,7 @@ jobs: - name: Build and save docker images id: build-images run: | - mv nacos-server-*-SNAPSHOT.tar.gz nacos-e2e/cicd/build + mv nacos-server-*.tar.gz nacos-e2e/cicd/build cd nacos-e2e/cicd/build version=${{ github.event.pull_request.number || github.ref_name }}-$(uuidgen) mkdir versionlist diff --git a/.github/workflows/push-ci.yaml b/.github/workflows/push-ci.yaml index cc565218588..3948dd44c45 100644 --- a/.github/workflows/push-ci.yaml +++ b/.github/workflows/push-ci.yaml @@ -42,7 +42,7 @@ jobs: name: Upload distribution tar with: name: nacos - path: distribution/target/nacos-server-*-SNAPSHOT.tar.gz + path: distribution/target/nacos-server-*.tar.gz docker: if: ${{ success() }} @@ -74,7 +74,7 @@ jobs: - name: Build and save docker images id: build-images run: | - mv nacos-server-*-SNAPSHOT.tar.gz nacos-e2e/cicd/build/ + mv nacos-server-*.tar.gz nacos-e2e/cicd/build/ cd nacos-e2e/cicd/build version=${{ github.event.pull_request.number || github.ref_name }}-$(uuidgen) mkdir versionlist