Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/documentation_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: https://docs.urbanopt.net/geojson-modelica-translator/
CONFIG_FILE: mkdocs.yml
REQUIREMENTS: docs/docs_requirements.txt
17 changes: 8 additions & 9 deletions .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,42 @@ on:

jobs:
build:
name: Build distribution 📦
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5

with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.12

python-version: "3.x"
- name: Install pypa/build
run: >-
python3 -m
pip install
pip install --upgrade pip
build
--user

- name: Build a binary wheel and a source tarball
run: python3 -m build

- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/

release:
publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
needs:
- build
- build
runs-on: ubuntu-latest
environment:
name: pypi_release
url: https://pypi.org/p/geojson-modelica-translator
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
Expand Down
2 changes: 1 addition & 1 deletion docs/docs_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
markdown-include~=0.8.1
mkdocs-material>=9.5.49,<9.7.0
mkdocs-schema-reader~=0.11.1
mkdocstrings-python>=1.12.2,<1.17.0
mkdocstrings-python>=1.12.2,<1.19.0
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,6 @@
}
}
},
"required": [
"weather"
],
"additionalProperties": false
},
"topology_def": {
Expand Down Expand Up @@ -1973,6 +1970,13 @@
"minimum": 1,
"default": 100,
"format": "Meters"
},
"width_of_ghe": {
"description": "Horizontal surface width allowed for the ground heat exchanger.",
"type": "number",
"minimum": 1,
"default": 100,
"format": "Meters"
}
},
"required": [
Expand Down