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: