diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 321495f..b798c8a 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -28,6 +28,8 @@ jobs: - name: 生成版本号 id: tag_name uses: mathieudutour/github-tag-action@v6.1 + with: + github_token: ${{ env.TOKEN_GITHUB }} - name: 查看变量 run: | echo ${{ format('version={0}', steps.create_version.outputs.tag_name ) }}