From a9eb6da4bdaa56cb8144aa4a5a76a161fa4b4c41 Mon Sep 17 00:00:00 2001 From: Joe Kaufeld Date: Thu, 6 Apr 2023 14:30:24 -0400 Subject: [PATCH] :green_heart: apparently GITEA_ENV isn't supported yet --- .gitea/workflows/build_and_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build_and_release.yml b/.gitea/workflows/build_and_release.yml index a013152..301bff3 100644 --- a/.gitea/workflows/build_and_release.yml +++ b/.gitea/workflows/build_and_release.yml @@ -47,7 +47,7 @@ jobs: pip install shiv pip install poetry - name: Add VERSION env property - run: echo "VERSION=v$(poetry version | python -c 'import sys;print(sys.stdin.read().split()[1])')" >> $GITEA_ENV + run: echo "VERSION=v$(poetry version | python -c 'import sys;print(sys.stdin.read().split()[1])')" >> $GITHUB_ENV - name: Build the sucker run: | sed -i -e "s/?????/${{ env.VERSION }}/g" src/__init__.py @@ -69,7 +69,7 @@ jobs: -H 'Content-Type: application/json' \ -d "$JSON_DATA" \ | python3 -c "import sys, json; print(json.load(sys.stdin)['id'])"\ - )""" >> $GITEA_ENV + )""" >> $GITHUB_ENV - name: Upload assets! run: | curl https://git.joekaufeld.com/api/v1/repos/${GITEA_REPOSITORY%/*}/${{ gitea.event.repository.name }}/releases/${{ env.release_id }}/assets \