add ut cases for command gen dao
(#2958)
#39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GoFrame AutoCreating SubMod Tags | |
on: | |
push: | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
env: | |
TZ: Asia/Shanghai | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
build: | |
name: Auto Creating Tags | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Github Code | |
uses: actions/checkout@v4 | |
- name: Auto Creating Tags For Contrib Packages | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "TagRobot" | |
for file in `find contrib -name go.mod`; do | |
tag=$(dirname $file)/$GITHUB_REF_NAME | |
git tag $tag | |
git push origin $tag | |
done |