From d7b0ea821bf113d86d2861e40b7b6ce4f668bb76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=9E=AC=ED=98=84?= <36877989+DavidLee18@users.noreply.github.com> Date: Sun, 15 Sep 2024 11:23:22 +0900 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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 }}