From 31bd99cca686932a528e7f69a6af6a58828ba130 Mon Sep 17 00:00:00 2001 From: Hyeonki Hong Date: Thu, 22 Aug 2024 01:10:07 +0900 Subject: [PATCH] chore: add auto release --- .github/workflows/publish.yaml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 96f919e..a4a41f4 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -5,26 +5,22 @@ on: tags: - "v[0-9]+.[0-9]+.[0-9]+" -concurrency: - group: publish-loggingx-py - cancel-in-progress: true - jobs: publish: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: "3.x" + python-version: "3.8" - name: Install tools run: | python -m pip install --upgrade pip - pip install --upgrade build twine + pip install build twine - name: Build and Publish env: @@ -33,3 +29,15 @@ jobs: run: | python -m build twine upload dist/* + + release: + name: Publish auto release + runs-on: ubuntu-latest + needs: [publish] + permissions: + contents: write + steps: + - name: Release + uses: softprops/action-gh-release@v2 + with: + generate_release_notes: true