From 15502b6e78eaebc4037daa361fbc74fe4e4d7fea Mon Sep 17 00:00:00 2001 From: mjt320 Date: Thu, 8 Feb 2024 14:43:17 +0000 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f1faa4d..35adb7a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,6 +14,21 @@ jobs: steps: - uses: actions/checkout@v4 + + #- uses: actions/checkout@v3 + + - name: Check pypi versions + uses: maybe-hello-world/pyproject-check-version@v4 + id: versioncheck + with: + pyproject-path: "./pyproject.toml" # default value + + - name: check output + run: | + echo "Output: ${{ steps.versioncheck.outputs.local_version_is_higher }}" # 'true' or 'false + echo "Local version: ${{ steps.versioncheck.outputs.local_version }}" # e.g., 0.1.1 + echo "Public version: ${{ steps.versioncheck.outputs.public_version }}" # e.g., 0.1.0 + - name: Set up Python uses: actions/setup-python@v4 with: