From 89e4d378c8a70fad1f9b13aa32b13b2760636e50 Mon Sep 17 00:00:00 2001 From: nadobando <7695172+nadobando@users.noreply.github.com> Date: Sat, 14 Oct 2023 15:51:41 +0300 Subject: [PATCH] ci: fixing ci (#7) --- .github/workflows/ci.yml | 17 +++++++++++++---- CHANGELOG.md | 13 +++++-------- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73510fc..50e123e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -149,6 +149,15 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} + - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV + - uses: actions/cache@v3 + with: + key: mkdocs-material-${{ env.cache_id }} + path: .cache + restore-keys: | + mkdocs-material- + + - run: mkdocs gh-deploy --force - run: | poetry build @@ -183,10 +192,10 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 - - name: Publish package distributions to GitHub Releases - uses: python-semantic-release/upload-to-gh-release@main - with: - github_token: ${{ secrets.GITHUB_TOKEN }} +# - name: Publish package distributions to GitHub Releases +# uses: python-semantic-release/upload-to-gh-release@main +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f51afc..39f49df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,5 @@ # CHANGELOG - - ## v0.2.0 (2023-10-14) ### Chore @@ -10,21 +8,20 @@ ### Feature -* feat: support collection config kwargs some session utils and refactor ([`adf7f1a`](https://github.com/nadobando/pydangorm/commit/adf7f1a700b7537eaf7714e9d19abd331836be5f)) +- feat: support collection config kwargs some session utils and refactor ([`adf7f1a`](https://github.com/nadobando/pydangorm/commit/adf7f1a700b7537eaf7714e9d19abd331836be5f)) ### Fix -* fix: mini refactor of files ([`0e711c7`](https://github.com/nadobando/pydangorm/commit/0e711c715614e6c4f0fb39951ae9969a79c3f72c)) - -* fix: moved query execution to session ([`6957559`](https://github.com/nadobando/pydangorm/commit/6957559a25ef5bb75a3b66dbd45403987a3a633f)) +- fix: mini refactor of files ([`0e711c7`](https://github.com/nadobando/pydangorm/commit/0e711c715614e6c4f0fb39951ae9969a79c3f72c)) +- fix: moved query execution to session ([`6957559`](https://github.com/nadobando/pydangorm/commit/6957559a25ef5bb75a3b66dbd45403987a3a633f)) ## v0.1.0 (2023-09-25) ### Build -* build: add py.typed (#3) ([`eb642eb`](https://github.com/nadobando/pydangorm/commit/eb642ebba7cba67b0fc37352776f2f23cedb6330)) +- build: add py.typed (#3) ([`eb642eb`](https://github.com/nadobando/pydangorm/commit/eb642ebba7cba67b0fc37352776f2f23cedb6330)) ### Feature -* feat: save and fetch models (#1) ([`8935e4f`](https://github.com/nadobando/pydangorm/commit/8935e4f8ec5c39f300cb7f818000fe8563e21989)) +- feat: save and fetch models (#1) ([`8935e4f`](https://github.com/nadobando/pydangorm/commit/8935e4f8ec5c39f300cb7f818000fe8563e21989))