gh降级
This commit is contained in:
2
.github/workflows/gitea.yml
vendored
2
.github/workflows/gitea.yml
vendored
@@ -70,7 +70,7 @@ jobs:
|
||||
path: target/x86_64-pc-windows-gnu/release/${{ steps.get_bin_name.outputs.windows_bin }}
|
||||
|
||||
- name: 创建 Gitea Release 并上传产物
|
||||
uses: softprops/action-gh-release@v2 # 这是一个通用的 GitHub/Gitea Release 动作
|
||||
uses: softprops/action-gh-release@v1 # 这是一个通用的 GitHub/Gitea Release 动作
|
||||
if: startsWith(github.ref, 'refs/tags/') # 确保只在标签推送时创建 Release
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} # 使用 Gitea 提供的 TOKEN 环境变量
|
||||
|
||||
Reference in New Issue
Block a user