diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3472a1e..9f14771 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,10 +18,15 @@ jobs: - uses: actions/checkout@v4 - name: Build run: cargo build --verbose - - name: Upload a Build Artifact - uses: actions/upload-artifact@v3.2.1-node20 + - name: Bump version and push tag + id: tag_version + uses: mathieudutour/github-tag-action@v6.2 with: - # Artifact name - name: norminette_lsp - path: ./target/release/norminette_lsp + github_token: ${{ secrets.GITHUB_TOKEN }} + - name: Create a GitHub release + uses: ncipollo/release-action@v1 + with: + tag: ${{ steps.tag_version.outputs.new_tag }} + name: Release ${{ steps.tag_version.outputs.new_tag }} + body: ${{ steps.tag_version.outputs.changelog }}