diff --git a/.github/workflows/create_tag.yml b/.github/workflows/create_tag.yml index 3305aec..b43dbee 100644 --- a/.github/workflows/create_tag.yml +++ b/.github/workflows/create_tag.yml @@ -19,12 +19,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Checkout master - run: git switch master - - id: version name: Get current version run: | @@ -69,4 +63,4 @@ jobs: # buf_token: ${{ secrets.BUF_TOKEN }} run: | export BUF_TOKEN=${{ secrets.BUF_TOKEN }} - buf push --tag ${{ github.ref_name }} + buf push --tag ${{ steps.version.outputs.NEW_VERSION }}