Skip to content

Commit 4546ab1

Browse files
authored
Update build.yaml
Fix om install
1 parent a5f32fc commit 4546ab1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
https://build.openmodelica.org/apt \
3838
$(cat /etc/os-release | grep "\(UBUNTU\\|DEBIAN\\|VERSION\)_CODENAME" | sort | cut -d= -f 2 | head -1) \
3939
stable" | sudo tee /etc/apt/sources.list.d/openmodelica.list
40-
sudo apt install --no-install-recommends omc
40+
sudo apt update
41+
sudo apt install openmodelica
4142
- uses: actions/checkout@v3
4243
- uses: actions/setup-python@v4
4344
with:
@@ -63,4 +64,4 @@ jobs:
6364
- run: python -m pip install --upgrade pip wheel
6465
- run: pip install twine
6566
- run: python setup.py sdist bdist_wheel
66-
- run: twine upload -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} dist/*
67+
- run: twine upload -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} dist/*

0 commit comments

Comments
 (0)