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 83643007 fix workflow v3
83643007 is described below
commit 83643007f07aa7f8d4c9c5d7f7085ae096154a31
Author: mfordjody <[email protected]>
AuthorDate: Sat May 31 18:19:47 2025 +0800
fix workflow v3
---
.github/workflows/dubboctl-release.yaml | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/dubboctl-release.yaml
b/.github/workflows/dubboctl-release.yaml
index f797c15d..3e74ffb3 100644
--- a/.github/workflows/dubboctl-release.yaml
+++ b/.github/workflows/dubboctl-release.yaml
@@ -77,11 +77,8 @@ jobs:
- name: Upload release asset
if: github.event_name == 'release'
- uses: actions/upload-release-asset@v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ uses: softprops/action-gh-release@v1
with:
- upload_url: ${{ github.event.release.upload_url }}
- asset_path: ./${{ steps.package.outputs.name }}
- asset_name: ${{ steps.package.outputs.name }}
- asset_content_type: application/zip
\ No newline at end of file
+ files: ./${{ steps.package.outputs.name }}
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file