diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 86eb0c0..f13bda4 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -57,27 +57,27 @@ jobs: commit_user_email: "github-actions[bot]@users.noreply.github.com" commit_author: "github-actions[bot] " -release: - name: release - if: ${{ github.ref == 'refs/heads/main' }} - needs: [luacheck, stylua, tests, docs] - runs-on: ubuntu-latest - steps: - - uses: google-github-actions/release-please-action@v3 - id: release - with: - release-type: simple - package-name: snippet-converter.nvim - extra-files: | - lua/snippet_converter/init.lua - - uses: actions/checkout@v2 - - name: tag stable versions - if: ${{ steps.release.outputs.release_created }} - run: | - git config user.name github-actions[bot] - git config user.email github-actions[bot]@users.noreply.github.com - git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git" - git tag -d stable || true - git push origin :stable || true - git tag -a stable -m "Last stable release" - git push origin stable + release: + name: release + if: ${{ github.ref == 'refs/heads/main' }} + needs: [luacheck, stylua, tests, docs] + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v3 + id: release + with: + release-type: simple + package-name: snippet-converter.nvim + extra-files: | + lua/snippet_converter/init.lua + - uses: actions/checkout@v2 + - name: tag stable versions + if: ${{ steps.release.outputs.release_created }} + run: | + git config user.name github-actions[bot] + git config user.email github-actions[bot]@users.noreply.github.com + git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git" + git tag -d stable || true + git push origin :stable || true + git tag -a stable -m "Last stable release" + git push origin stable