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