Skip to content

Commit e59a609

Browse files
committed
💚 Fix om install
1 parent a5f32fc commit e59a609

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/build.yaml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
run:
3232
sudo apt-get update
3333
sudo apt-get install ca-certificates curl gnupg
34-
sudo curl -fsSL http://build.openmodelica.org/apt/openmodelica.asc | \
35-
sudo gpg --dearmor -o /usr/share/keyrings/openmodelica-keyring.gpg
36-
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/openmodelica-keyring.gpg] \
34+
sudo curl -fsSL http://build.openmodelica.org/apt/openmodelica.asc | sudo gpg --dearmor -o /usr/share/keyrings/openmodelica-keyring.gpg
35+
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/openmodelica-keyring.gpg]
3736
https://build.openmodelica.org/apt \
3837
$(cat /etc/os-release | grep "\(UBUNTU\\|DEBIAN\\|VERSION\)_CODENAME" | sort | cut -d= -f 2 | head -1) \
3938
stable" | sudo tee /etc/apt/sources.list.d/openmodelica.list
40-
sudo apt install --no-install-recommends omc
39+
sudo apt update
40+
sudo apt install openmodelica
4141
- uses: actions/checkout@v3
4242
- uses: actions/setup-python@v4
4343
with:
@@ -63,4 +63,4 @@ jobs:
6363
- run: python -m pip install --upgrade pip wheel
6464
- run: pip install twine
6565
- run: python setup.py sdist bdist_wheel
66-
- run: twine upload -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} dist/*
66+
- run: twine upload -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} dist/*

0 commit comments

Comments
 (0)