Skip to content

Commit

Permalink
Fix SLSA for ML workflow (#87)
Browse files Browse the repository at this point in the history
I forgot to also update this one to activate the environment the proper
way.

Signed-off-by: Mihai Maruseac <[email protected]>
  • Loading branch information
mihaimaruseac authored Jan 5, 2024
1 parent 41f08f7 commit 89063f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/slsa_for_ml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ jobs:
env:
MODEL_TYPE: ${{ github.event.inputs.model_type }}
run: |
set -euo pipefail
bash .github/workflows/scripts/venv_activate.sh
set -exuo pipefail
python -m venv venv
.github/workflows/scripts/venv_activate.sh
python slsa_for_models/main.py "$MODEL_TYPE"
- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
Expand Down

0 comments on commit 89063f1

Please sign in to comment.