更新 .gitea/workflows/demo.yaml
自动流水线示例 / build (push) Successful in 2m14s Details
自动流水线示例 / deploy (push) Successful in 16s Details
自动流水线示例 / 检查 (push) Successful in 7s Details
自动流水线示例 / 制品上传 (ubuntu-latest, a) (push) Has been skipped Details
自动流水线示例 / 制品上传 (ubuntu-latest, b) (push) Has been skipped Details
自动流水线示例 / 制品上传 (ubuntu-latest, c) (push) Has been skipped Details
自动流水线示例 / upload (ubuntu-latest) (push) Successful in 17s Details
自动流水线示例 / download (push) Failing after 46s Details

发布生产
This commit is contained in:
xiehaijun 2025-07-28 17:45:33 +00:00
parent 624480984e
commit 369f83d401
1 changed files with 2 additions and 2 deletions

View File

@ -243,11 +243,11 @@ jobs:
run: |
git config user.name "github-actions[bot]"
git config user.email "actions@github.com"
git tag -a ${{ steps.vars.outputs.tag }} -m "Automated release"
#git tag -a ${{ steps.vars.outputs.tag }} -m "Automated release"
# git push origin ${{ steps.vars.outputs.tag }}
# 前往你的 GitHub: https://github.com/settings/tokens;生成一个classic token-建议 或 fine-grained token;选择至少:repo 权限
# git push https://x-access-token:${PAT_PUSH}@github.com/${REPO}.git "$TAG"
git push https://${GITEA_USER}:${GITEA_PAT}@${GITEA_HOST}/${GITEA_REPO}.git "$TAG"
#git push https://${GITEA_USER}:${GITEA_PAT}@${GITEA_HOST}/${GITEA_REPO}.git "$TAG"
- name: 获取跨job上游job的输出变量值
run: echo "The tag from previous job is ${{ needs.upload.outputs.tag-name }}"
- name: Download All Artifacts