We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4bb49b commit 1d385baCopy full SHA for 1d385ba
1 file changed
.github/workflows/release.yml
@@ -88,8 +88,8 @@ jobs:
88
if: github.ref == 'refs/heads/test-workflow' && github.event_name == 'push'
89
uses: softprops/action-gh-release@v1
90
with:
91
- tag_name: test-${{ github.sha }}
92
- name: 测试版本 ${{ github.sha }}
+ tag_name: test-${{ github.sha }} # 使用完整SHA作为标签确保唯一性
+ name: 测试版本 ${{ substr(github.sha, 0, 8) }} # 使用SHA前缀提高可读性
93
draft: false
94
prerelease: true
95
body: |
0 commit comments