💚 apparently GITEA_ENV isn't supported yet
This commit is contained in:
parent
a05332ba66
commit
a9eb6da4bd
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user