From 957650390b03f22d29a359839520fdbab7d78e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Wieiw=C3=B3rka?= Date: Mon, 16 Dec 2024 23:15:50 +0100 Subject: [PATCH] fix: Fixing build --- .github/workflows/release.yml | 25 +++++++++++++++++++++++++ .readthedocs.yaml | 1 + 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e18378a --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: Release and upload artifacts +permissions: + contents: write + discussions: write +on: workflow_dispatch +jobs: + release: + name: Release + runs-on: [ubuntu-latest] + outputs: + new_tag: ${{ steps.tag_version.outputs.new_tag }} + steps: + - uses: actions/checkout@v4 + - name: Bump version and push tag + id: tag_version + uses: mathieudutour/github-tag-action@v6.2 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + tag_prefix: "" + - 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 }} diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 2594b55..e61496e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -12,6 +12,7 @@ post_install: # Install dependencies with 'docs' dependency group # https://python-poetry.org/docs/managing-dependencies/#dependency-groups + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry lock --no-update - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install mkdocs: