Skip to content

Commit

Permalink
Fix release workflow (#2550)
Browse files Browse the repository at this point in the history
* fix

* Add source command to create virtual environment

* Add source command for cargo environment setup

* Update GitHub Actions workflows
  • Loading branch information
strickvl authored Mar 21, 2024
1 parent aa72f8b commit 75f5ece
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
# This is a basic workflow to help you get started with Actions
name: Release Package & Docker Image
# Controls when the action will run. Triggers the workflow on push of a tag
on:
push:
tags: ['*']
Expand All @@ -27,15 +25,19 @@ jobs:
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.cargo/env
- name: Create virtual environment
run: uv venv
run: |
source $HOME/.cargo/env
uv venv
- name: Check mlstacks compatibility
run: |
source .venv/bin/activate
source $HOME/.cargo/env
uv pip install -e .
uv pip install mlstacks
- name: Check for broken dependencies
run: |
source .venv/bin/activate
source $HOME/.cargo/env
uv pip check
mysql-db-migration-testing:
runs-on: arc-runner-set
Expand Down

0 comments on commit 75f5ece

Please sign in to comment.