Skip to content

Commit a6859fa

Browse files
committed
Use two steps and debug
1 parent 67f7089 commit a6859fa

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/redis_release.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,22 @@ jobs:
3333
with:
3434
python-version: '3.11'
3535

36-
- name: Install package and run Redis release
37-
env:
38-
FORCE_COLOR: 1
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
- name: Install package in development mode
4037
run: |
41-
# Create and activate virtual environment
4238
python -m venv venv
43-
source venv/bin/activate
44-
45-
# Install package in development mode
39+
. venv/bin/activate
4640
pip install -e .
4741
48-
# Build command
42+
- name: Redis release
43+
env:
44+
FORCE_COLOR: 1
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
run: |
47+
ls -al
48+
env
49+
. venv/bin/activate
4950
cmd="redis-release release"
51+
env
5052
5153
if [ "${{ inputs.force_rebuild }}" = "true" ]; then
5254
cmd="$cmd --force-rebuild"
@@ -59,4 +61,4 @@ jobs:
5961
cmd="$cmd ${{ inputs.release_tag }}"
6062
6163
echo "Running command: $cmd"
62-
eval "$cmd"
64+
"$cmd"

0 commit comments

Comments
 (0)