💚 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 shiv
|
||||||
pip install poetry
|
pip install poetry
|
||||||
- name: Add VERSION env property
|
- 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
|
- name: Build the sucker
|
||||||
run: |
|
run: |
|
||||||
sed -i -e "s/?????/${{ env.VERSION }}/g" src/__init__.py
|
sed -i -e "s/?????/${{ env.VERSION }}/g" src/__init__.py
|
||||||
@ -69,7 +69,7 @@ jobs:
|
|||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d "$JSON_DATA" \
|
-d "$JSON_DATA" \
|
||||||
| python3 -c "import sys, json; print(json.load(sys.stdin)['id'])"\
|
| python3 -c "import sys, json; print(json.load(sys.stdin)['id'])"\
|
||||||
)""" >> $GITEA_ENV
|
)""" >> $GITHUB_ENV
|
||||||
- name: Upload assets!
|
- name: Upload assets!
|
||||||
run: |
|
run: |
|
||||||
curl https://git.joekaufeld.com/api/v1/repos/${GITEA_REPOSITORY%/*}/${{ gitea.event.repository.name }}/releases/${{ env.release_id }}/assets \
|
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