Skip to content

Commit 73fce82

Browse files
committed
action: installs tiqi-zedboard dependency in separate step using deploy token
1 parent 181cd9e commit 73fce82

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,19 @@ jobs:
5656
irm https://astral.sh/uv/install.ps1 | iex
5757
echo "$env:USERPROFILE\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
5858
59+
- name: Add gitlab.phys.ethz.ch to known hosts
60+
run: |
61+
mkdir -p ~/.ssh
62+
chmod 700 ~/.ssh
63+
ssh-keyscan gitlab.phys.ethz.ch >> ~/.ssh/known_hosts
64+
5965
- name: Sync build dependencies
60-
run: uv sync --group build
66+
env:
67+
GL_DEPLOY_USER: ${{ secrets.GITLAB_DEPLOY_USER }}
68+
GL_DEPLOY_TOKEN: ${{ secrets.GITLAB_DEPLOY_TOKEN }}
69+
run: |
70+
uv sync --no-dev --extra server --group build
71+
uv pip install "git+https://$GL_DEPLOY_USER:$GL_DEPLOY_TOKEN@gitlab.phys.ethz.ch/tiqi-projects/drivers/tiqi-zedboard.git"
6172
6273
- name: Build with PyInstaller
6374
run: uv run pyinstaller icon.spec

0 commit comments

Comments
 (0)