From 53bfd5fa6ea51749efb7895dc3590770c183f851 Mon Sep 17 00:00:00 2001 From: Zane Selvans Date: Mon, 18 Dec 2023 17:09:13 -0600 Subject: [PATCH] Try to fix nightly tag workflow --- .github/workflows/pytest.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 9e3c767557..7220fb21fc 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -93,12 +93,17 @@ jobs: which sqlite3 sqlite3 --version - - name: Test pushing a tag + - name: Set the nightly tag run: | echo "NIGHTLY_TAG=nightly-$(date +%Y-%m-%d)" >> $GITHUB_ENV + + - name: Test pushing a tag + run: | + echo "1 NIGHTLY_TAG: $NIGHTLY_TAG" + echo "2 NIGHTLY_TAG: ${{ env.NIGHTLY_TAG}}" + echo "3 NIGHTLY_TAG: " ${{ env.NIGHTLY_TAG}} git config user.email "pudl@catalyst.coop" git config user.name "PudlBot" - echo "nightly tag is: $NIGHTLY_TAG" git tag -a -m "$NIGHTLY_TAG" $NIGHTLY_TAG git push origin $NIGHTLY_TAG