You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ma...@apache.org on 2021/09/10 07:34:05 UTC
[apisix-dashboard] branch master updated: ci: Only upload artifact
at the release/** branch (#2137)
This is an automated email from the ASF dual-hosted git repository.
majunjie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new 5b4e460 ci: Only upload artifact at the release/** branch (#2137)
5b4e460 is described below
commit 5b4e46070021f8998951d7d19f707d7127a304a5
Author: Joey <ma...@apache.org>
AuthorDate: Fri Sep 10 15:33:59 2021 +0800
ci: Only upload artifact at the release/** branch (#2137)
Signed-off-by: imjoey <ma...@apache.org>
---
.github/workflows/auto-build-rpm.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/auto-build-rpm.yml b/.github/workflows/auto-build-rpm.yml
index 9615f13..4199b3a 100644
--- a/.github/workflows/auto-build-rpm.yml
+++ b/.github/workflows/auto-build-rpm.yml
@@ -69,6 +69,7 @@ jobs:
api/test/shell/manager_smoking.sh -s true
- name: Publish Artifact
+ if: ${{ startsWith(github.ref, 'refs/heads/release/') }}
uses: actions/upload-artifact@v2.2.4
with:
name: "rpm"