Skip to content

Commit

Permalink
fix wrong cuda-backend branch pull
Browse files Browse the repository at this point in the history
  • Loading branch information
yshekel committed Jul 25, 2024
1 parent b3e1c6c commit 7c82e2c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ jobs:
CUDA_BE_BRANCH="main" # Default branch if not specified
fi
echo "Extracted CUDA Backend Branch: $CUDA_BE_BRANCH"
echo "::set-output name=cuda-backend-branch::$CUDA_BE_BRANCH"
echo "cuda-backend-branch=$CUDA_BE_BRANCH" >> $GITHUB_ENV
outputs:
cuda-backend-branch: ${{ steps.extract.outputs.cuda-backend-branch }}

test-linux-curve:
name: Test on Linux
Expand Down Expand Up @@ -78,7 +80,7 @@ jobs:
path: ./icicle_v3/backend/cuda
token: ${{ secrets.GITHUB_TOKEN }}
ssh-key: ${{ secrets.CUDA_PULL_KEY }}
ref: ${{ needs.extract-branch.outputs.cuda-backend-branch }}
ref: ${{ needs.extract-cuda-backend-branch.outputs.cuda-backend-branch }}
- name: Build curve
working-directory: ./icicle_v3
if: needs.check-changed-files.outputs.cpp_cuda == 'true'
Expand Down Expand Up @@ -112,7 +114,7 @@ jobs:
path: ./icicle_v3/backend/cuda
token: ${{ secrets.GITHUB_TOKEN }}
ssh-key: ${{ secrets.CUDA_PULL_KEY }}
ref: ${{ needs.extract-branch.outputs.cuda-backend-branch }}
ref: ${{ needs.extract-cuda-backend-branch.outputs.cuda-backend-branch }}
- name: Build field
working-directory: ./icicle_v3
if: needs.check-changed-files.outputs.cpp_cuda == 'true'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/v3_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ jobs:
CUDA_BE_BRANCH="main" # Default branch if not specified
fi
echo "Extracted CUDA Backend Branch: $CUDA_BE_BRANCH"
echo "::set-output name=cuda-backend-branch::$CUDA_BE_BRANCH"
echo "cuda-backend-branch=$CUDA_BE_BRANCH" >> $GITHUB_ENV
outputs:
cuda-backend-branch: ${{ steps.extract.outputs.cuda-backend-branch }}

test-linux:
name: Test on Linux
Expand All @@ -70,7 +72,7 @@ jobs:
path: ./icicle_v3/backend/cuda
token: ${{ secrets.GITHUB_TOKEN }}
ssh-key: ${{ secrets.CUDA_PULL_KEY }}
ref: ${{ needs.extract-branch.outputs.cuda-backend-branch }}
ref: ${{ needs.extract-cuda-backend-branch.outputs.cuda-backend-branch }}
- name: Run tests
working-directory: ./wrappers/rust_v3
if: needs.check-changed-files.outputs.rust == 'true' || needs.check-changed-files.outputs.cpp_cuda == 'true'
Expand Down

0 comments on commit 7c82e2c

Please sign in to comment.