Skip to content

Commit 8b2647d

Browse files
committed
Update CI-e2e.yml
1 parent ade98f4 commit 8b2647d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/CI-e2e.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ jobs:
1919
steps:
2020
- name: Checkout Repo
2121
uses: actions/checkout@v3
22+
with:
23+
fetch-depth: 2
2224

2325
- name: Clone and patch mock-worker
2426
run: |
2527
git clone https://github.com/runpod-workers/mock-worker
26-
echo "Installing runpod-python from ${{ GITHUB_SHA }}"
27-
echo "git+https://github.com/runpod/runpod-python.git@${{ GITHUB_SHA }}" > mock-worker/builder/requirements.txt
28+
echo "Installing runpod-python from ${{ github.sha }}"
29+
echo "git+https://github.com/runpod/runpod-python.git@${{ github.sha }}" > mock-worker/builder/requirements.txt
2830
2931
- name: Set up QEMU
3032
uses: docker/setup-qemu-action@v2
@@ -40,7 +42,7 @@ jobs:
4042

4143
- name: Define Docker Tag
4244
id: docker_tag
43-
run: echo "DOCKER_TAG=$(echo ${{ GITHUB_SHA }} | cut -c 1-7)" >> $GITHUB_ENV
45+
run: echo "DOCKER_TAG=$(echo ${{ github.sha }} | cut -c 1-7)" >> $GITHUB_ENV
4446

4547
- name: Set Docker Tag as Output
4648
id: output_docker_tag

0 commit comments

Comments
 (0)