From 0c243e8a1550f78e959830751d096c9e5878780e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=A5=EC=98=81=EC=9E=AC?= Date: Wed, 6 Nov 2024 15:38:06 +0900 Subject: [PATCH] feat: workflow --- .github/workflows/main.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..854d468 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,28 @@ +name: github action tag release + +on: + push: + branches: + - main +jobs: + release: + name: Release + runs-on: ubuntu-latest + permissions: + packages: write + contents: write + id-token: write + + steps: + - name: Bump version and push tag + id: tag_version + uses: mathieudutour/github-tag-action@v6.1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + + - name: Create a GitHub release + uses: ncipollo/release-action@v1 + with: + tag: ${{ steps.tag_version.outputs.new_tag }} + name: ${{ steps.tag_version.outputs.new_tag }} + body: ${{ steps.tag_version.outputs.changelog }} \ No newline at end of file