更新 .gitea/workflows/demo.yaml

发布生产
This commit is contained in:
xiehaijun 2025-07-27 15:49:31 +00:00
parent cecb270155
commit b42bc378a3
1 changed files with 2 additions and 2 deletions

View File

@ -263,12 +263,12 @@ jobs:
echo "获取github的环境变量: https://graphite.dev/guides/github-actions-variables ${{ GITHUB_REPOSITORY }} "
echo "获取gitea: ${{ gitea.repository }}"
- name: release
# uses: softprops/action-gh-release@v2这是github的。gitea官方的actions才支持gitea官方的actions:https://gitea.com/actions
# uses: softprops/action-gh-release@v2这是github的.gitea官方的actions才支持.gitea官方的actions:https://gitea.com/actions
uses: akkuman/gitea-release-action@v1
env:
#GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # github版本专用
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18[gitea版本]
NODE_TLS_REJECT_UNAUTHORIZED=false # 忽略 ssl 验证错误[gitea版本]
NODE_TLS_REJECT_UNAUTHORIZED: false # 忽略 ssl 验证错误[gitea版本]
if: github.ref_type == 'tag'
with:
# body_path: ${{ github.workspace }}-CHANGELOG.txt #加载文本的路径,用于传达此版本中的显著变化