This is an automated email from the ASF dual-hosted git repository.
zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git
The following commit(s) were added to refs/heads/master by this push:
new d9a2cbf1 fix workflow v8
d9a2cbf1 is described below
commit d9a2cbf107bb21cea86d363b352b35290b19f4af
Author: mfordjody <[email protected]>
AuthorDate: Sat May 31 19:11:45 2025 +0800
fix workflow v8
---
.github/workflows/dubboctl-release.yaml | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/dubboctl-release.yaml
b/.github/workflows/dubboctl-release.yaml
index 57326f44..dbf84fd4 100644
--- a/.github/workflows/dubboctl-release.yaml
+++ b/.github/workflows/dubboctl-release.yaml
@@ -27,7 +27,7 @@ on:
types: [created, published]
jobs:
- build-go-binary:
+ release:
name: Release dubboctl
permissions:
contents: write
@@ -74,18 +74,9 @@ jobs:
tar -czvf ${FILENAME}.tar.gz -C build .
echo "name=${FILENAME}.tar.gz" >> $GITHUB_OUTPUT
fi
- - name: Create GitHub Release
- id: create_release
- uses: actions/create-release@v1
- with:
- tag_name: ${{ github.ref_name }}
- release_name: ${{ github.ref_name }}
- draft: false
- prerelease: false
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release Asset
+ if: github.event_name == 'release'
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}