File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 - " tdesign-component/pubspec.yaml"
99 issue_comment :
1010 types : [edited]
11+ push :
12+ tags :
13+ - " *"
1114
1215jobs :
1316 generator :
2932 env :
3033 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3134 with :
32- tag : ${{ steps.tag-action.outputs.version }}
35+ tag : ${{ steps.tag-action.outputs.version }}
3336 - name : Add comment
3437 uses : peter-evans/create-or-update-comment@v1
3538 with :
@@ -86,13 +89,22 @@ jobs:
8689 - uses : TDesignOteam/tdesign-tag-action@main
8790 id : tag-action
8891 with :
89- token : ${{ secrets.GITHUB_TOKEN }}
90- version_file : ./tdesign-component/pubspec.yaml
92+ token : ${{ secrets.GITHUB_TOKEN }}
93+ version_file : ./tdesign-component/pubspec.yaml
9194 - name : tag and push if needed
9295 run : |
9396 echo "${{ steps.tag-action.outputs.version }}"
9497 git config --local user.email "github-actions[bot]@users.noreply.github.com"
9598 git config --local user.name "github-actions[bot]"
9699 git tag ${{ steps.tag-action.outputs.version }}
97100 git push origin ${{ steps.tag-action.outputs.version }}
98- echo "pushed tag ${{ steps.tag-action.outputs.version }}"
101+
102+ close-release-issue :
103+ runs-on : ubuntu-latest
104+ if : startsWith(github.ref, 'refs/tags/')
105+ steps :
106+ - uses : TDesignOteam/workflows/actions/close-release-issue@rss1102/flutter/issue-close
107+ with :
108+ version : ${{ github.ref_name }}
109+ label : ${{ github.ref_name }}
110+ token : ${{ secrets.PERSONAL_TOKEN }}
You can’t perform that action at this time.
0 commit comments