From 63f56659c159c7195498401806e93a9225732f00 Mon Sep 17 00:00:00 2001 From: "Schmieder, Jacob" Date: Thu, 16 May 2024 09:53:24 +0000 Subject: [PATCH] debug tagging --- .github/workflows/pypi.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index d4c9032..d33ddb9 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -14,6 +14,19 @@ on: type: boolean jobs: + check-tag: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: '0' + - name: Check if tag is present + run: | + if [ -z "$GITHUB_REF" ]; then + echo "No tag found" + exit 1 + fi + echo "Tag found: $GITHUB_REF" Build-and-publish-to-Test-PyPI: runs-on: ubuntu-latest steps: