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 d5014fad fix workflow v4
d5014fad is described below
commit d5014fadf906917ae3855599c82ff6f09d061143
Author: mfordjody <[email protected]>
AuthorDate: Sat May 31 18:40:25 2025 +0800
fix workflow v4
---
.github/workflows/dubboctl-release.yaml | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/dubboctl-release.yaml
b/.github/workflows/dubboctl-release.yaml
index 3e74ffb3..f14945e4 100644
--- a/.github/workflows/dubboctl-release.yaml
+++ b/.github/workflows/dubboctl-release.yaml
@@ -74,11 +74,10 @@ jobs:
tar -czvf ${FILENAME}.tar.gz -C build .
echo "name=${FILENAME}.tar.gz" >> $GITHUB_OUTPUT
fi
-
- - name: Upload release asset
- if: github.event_name == 'release'
- uses: softprops/action-gh-release@v1
+ - name: Upload Release Asset
+ uses: actions/upload-release-asset@v2
with:
- files: ./${{ steps.package.outputs.name }}
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
+ upload_url: ${{ github.event.release.upload_url }}
+ asset_path: ./${{ steps.package.outputs.name }}
+ asset_name: ${{ steps.package.outputs.name }}
+ asset_content_type: application/octet-stream