File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
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
You can’t perform that action at this time.
0 commit comments