We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e014b5 commit f647c6bCopy full SHA for f647c6b
1 file changed
.github/workflows/ci.yml
@@ -117,9 +117,12 @@ jobs:
117
- name: Clone edx-platform
118
if: steps.cache-edx-platform.outputs.cache-hit != 'true'
119
run: |
120
- git clone --depth=1 --branch=${{ matrix.edx_branch }} \
121
- https://github.com/openedx/edx-platform \
122
- ${{ github.workspace }}/../edx-platform
+ set -euo pipefail
+ EDX_DIR="${{ github.workspace }}/../edx-platform"
+ git init "$EDX_DIR"
123
+ git -C "$EDX_DIR" remote add origin https://github.com/openedx/edx-platform
124
+ git -C "$EDX_DIR" fetch --depth=1 origin "${{ steps.edx-sha.outputs.sha }}"
125
+ git -C "$EDX_DIR" checkout --detach FETCH_HEAD
126
127
- name: Generate edx-platform egg-info (registers Django app entry points)
128
run: pip install --no-deps -e ${{ github.workspace }}/../edx-platform
0 commit comments