Skip to content

Commit 75f5ece

Browse files
authored
Fix release workflow (#2550)
* fix * Add source command to create virtual environment * Add source command for cargo environment setup * Update GitHub Actions workflows
1 parent aa72f8b commit 75f5ece

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
2-
# This is a basic workflow to help you get started with Actions
32
name: Release Package & Docker Image
4-
# Controls when the action will run. Triggers the workflow on push of a tag
53
on:
64
push:
75
tags: ['*']
@@ -27,15 +25,19 @@ jobs:
2725
curl -LsSf https://astral.sh/uv/install.sh | sh
2826
source $HOME/.cargo/env
2927
- name: Create virtual environment
30-
run: uv venv
28+
run: |
29+
source $HOME/.cargo/env
30+
uv venv
3131
- name: Check mlstacks compatibility
3232
run: |
3333
source .venv/bin/activate
34+
source $HOME/.cargo/env
3435
uv pip install -e .
3536
uv pip install mlstacks
3637
- name: Check for broken dependencies
3738
run: |
3839
source .venv/bin/activate
40+
source $HOME/.cargo/env
3941
uv pip check
4042
mysql-db-migration-testing:
4143
runs-on: arc-runner-set

0 commit comments

Comments
 (0)