Skip to content

Commit

Permalink
uuugly
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannes Mühleisen committed Jun 3, 2024
1 parent 46de66e commit e3b90c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:
run: |
pip install pyyaml
python scripts/build.py
echo "COMMUNITY_EXTENSION_GITHUB=$COMMUNITY_EXTENSION_GITHUB" >> $GITHUB_ENV
echo "COMMUNITY_EXTENSION_REF=$COMMUNITY_EXTENSION_REF" >> $GITHUB_ENV
cat env.sh >> $GITHUB_ENV
- name: printf
env:
Expand Down
8 changes: 4 additions & 4 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# todo check other stuff like build system etc.


os.environ['COMMUNITY_EXTENSION_GITHUB'] = desc['repo']['github']
os.environ['COMMUNITY_EXTENSION_REF'] = desc['repo']['ref']
os.environ['COMMUNITY_EXTENSION_NAME'] = desc['extension']['name']
with open('env.sh', 'w+') as hdl:
hdl.write(f"COMMUNITY_EXTENSION_GITHUB={desc['repo']['github']}\n")
hdl.write(f"COMMUNITY_EXTENSION_REF={desc['repo']['ref']}\n")
hdl.write(f"COMMUNITY_EXTENSION_NAME={desc['extension']['name']}\n")

0 comments on commit e3b90c0

Please sign in to comment.