diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 85c5c10..61a01f5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -# This workflow will upload a Python Package using Trusted Publishers automatically when a release is created +# This workflow will upload a Python Package using Trusted Publishers automatically when a release is created and the deployment is approved by an admin # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries # and https://docs.pypi.org/trusted-publishers/using-a-publisher/. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index be5fa63..8566344 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,10 +49,10 @@ jobs: run: | python3 -m pip install . tldr --version - tldr tldr --markdown build-macos: runs-on: macos-latest + needs: ['build-linux'] permissions: contents: read @@ -97,10 +97,10 @@ jobs: run: | python3 -m pip install . tldr --version - tldr tldr --markdown build-windows: runs-on: windows-latest + needs: ['build-macos'] permissions: contents: read @@ -144,10 +144,10 @@ jobs: run: | python3 -m pip install . tldr --version - tldr tldr --markdown build-windows-arm: runs-on: windows-11-arm + needs: ['build-windows'] permissions: contents: read @@ -183,11 +183,10 @@ jobs: run: | python3 -m pip install . tldr --version - tldr tldr --markdown build-snap: runs-on: ${{ matrix.os }} - if: github.repository == 'tldr-pages/tldr-python-client' && github.ref == 'refs/heads/main' + if: github.repository == 'tldr-pages/tldr-python-client' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) needs: ['build-linux'] permissions: diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 85b4cec..6712931 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,6 +1,6 @@ name: tldr base: core24 -version: '3.4.0' +version: '3.4.1' summary: tldr python client description: Official Python command-line client for tldr pages.