diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index b798c8a..6077804 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -22,9 +22,14 @@ jobs: name: 构建版本号和变更信息 runs-on: ubuntu-latest outputs: - version: ${{ steps.create_version.outputs.tag_name }} # 版本号 + version: ${{ steps.create_version.outputs.tag_version }} # 版本号 body: ${{ steps.create_version.outputs.body }} # 版本变更内容 steps: + - name: 生成版本号 + id: tag_version + uses: mathieudutour/github-tag-action@v6.1 + with: + github_token: ${{ env.TOKEN_GITHUB }} - name: 生成版本号 id: tag_name uses: mathieudutour/github-tag-action@v6.1